mirror of
https://github.com/bitwarden/server.git
synced 2025-07-03 17:12:49 -05:00
separate plans for month vs annual. users => seats
This commit is contained in:
@ -21,8 +21,7 @@ namespace Bit.Core.Models.Api
|
||||
public string Key { get; set; }
|
||||
public string PaymentToken { get; set; }
|
||||
[Range(0, double.MaxValue)]
|
||||
public short AdditionalUsers { get; set; }
|
||||
public bool Monthly { get; set; }
|
||||
public short AdditionalSeats { get; set; }
|
||||
|
||||
public virtual OrganizationSignup ToOrganizationSignup(User user)
|
||||
{
|
||||
@ -33,10 +32,9 @@ namespace Bit.Core.Models.Api
|
||||
Name = Name,
|
||||
Plan = PlanType,
|
||||
PaymentToken = PaymentToken,
|
||||
AdditionalUsers = AdditionalUsers,
|
||||
AdditionalSeats = AdditionalSeats,
|
||||
BillingEmail = BillingEmail,
|
||||
BusinessName = BusinessName,
|
||||
Monthly = Monthly
|
||||
BusinessName = BusinessName
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user