2022-08-29 15:53:48 -04:00
|
|
|
|
namespace Bit.Core.Models.Mail
|
2017-05-30 23:43:00 -04:00
|
|
|
|
{
|
2022-08-29 15:53:48 -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; }
|
|
|
|
|
|
public string ExpirationDate { get; set; }
|
|
|
|
|
|
public string Url => string.Format("{0}/accept-organization?organizationId={1}&" +
|
|
|
|
|
|
"organizationUserId={2}&email={3}&organizationName={4}&token={5}",
|
|
|
|
|
|
WebVaultUrl,
|
|
|
|
|
|
OrganizationId,
|
|
|
|
|
|
OrganizationUserId,
|
|
|
|
|
|
Email,
|
|
|
|
|
|
OrganizationNameUrlEncoded,
|
|
|
|
|
|
Token);
|
|
|
|
|
|
}
|
2017-05-30 23:43:00 -04:00
|
|
|
|
}
|