mirror of
https://github.com/bitwarden/server.git
synced 2026-02-07 01:16:22 +08:00
21 lines
756 B
C#
21 lines
756 B
C#
|
|
namespace Bit.Core.Models.Mail
|
|||
|
|
{
|
|||
|
|
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 Url => string.Format("{0}/accept-organization?organizationId={1}&" +
|
|||
|
|
"organizationUserId={2}&email={3}&organizationName={4}&token={5}",
|
|||
|
|
WebVaultUrl,
|
|||
|
|
OrganizationId,
|
|||
|
|
OrganizationUserId,
|
|||
|
|
Email,
|
|||
|
|
OrganizationNameUrlEncoded,
|
|||
|
|
Token);
|
|||
|
|
}
|
|||
|
|
}
|