2021-07-16 14:17:24 -04:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Bit.Core.Models.Mail
|
2017-05-30 23:43:00 -04:00
|
|
|
|
{
|
|
|
|
|
|
public class OrganizationUserInvitedViewModel : BaseMailModel
|
|
|
|
|
|
{
|
|
|
|
|
|
public string OrganizationName { get; set; }
|
|
|
|
|
|
public string OrganizationId { get; set; }
|
|
|
|
|
|
public string OrganizationUserId { get; set; }
|
|
|
|
|
|
public string Email { get; set; }
|
|
|
|
|
|
public string OrganizationNameUrlEncoded { get; set; }
|
|
|
|
|
|
public string Token { get; set; }
|
2021-07-16 14:17:24 -04:00
|
|
|
|
public string ExpirationDate { get; set; }
|
2017-05-30 23:43:00 -04:00
|
|
|
|
public string Url => string.Format("{0}/accept-organization?organizationId={1}&" +
|
|
|
|
|
|
"organizationUserId={2}&email={3}&organizationName={4}&token={5}",
|
|
|
|
|
|
WebVaultUrl,
|
|
|
|
|
|
OrganizationId,
|
|
|
|
|
|
OrganizationUserId,
|
|
|
|
|
|
Email,
|
|
|
|
|
|
OrganizationNameUrlEncoded,
|
|
|
|
|
|
Token);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|