1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 23:52:50 -05:00

added max subvault count. check max org users.

This commit is contained in:
Kyle Spearrin
2017-04-07 16:41:04 -04:00
parent e3cc1b9411
commit 51e8d3f1a7
12 changed files with 78 additions and 3 deletions

View File

@ -32,7 +32,7 @@ namespace Bit.Core.Models.Api
public string BillingEmail { get; set; }
public string Plan { get; set; }
public Enums.PlanType PlanType { get; set; }
public short MaxUsers { get; set; }
public short? MaxUsers { get; set; }
}
public class OrganizationBillingResponseModel : OrganizationResponseModel

View File

@ -18,6 +18,7 @@ namespace Bit.Core.Models.StaticStore
public decimal UserMonthlyPrice { get; set; }
public decimal BaseAnnualPrice { get; set; }
public decimal UserAnnualPrice { get; set; }
public short? MaxSubvaults { get; set; }
public bool Disabled { get; set; }
}
}

View File

@ -12,7 +12,7 @@ namespace Bit.Core.Models.Table
public string BillingEmail { get; set; }
public string Plan { get; set; }
public PlanType PlanType { get; set; }
public short MaxUsers { get; set; }
public short? MaxUsers { get; set; }
public short? MaxSubvaults { get; set; }
public string StripeCustomerId { get; set; }
public string StripeSubscriptionId { get; set; }