1
0
mirror of https://github.com/bitwarden/server synced 2025-12-21 02:33:30 +00:00

separate plans for month vs annual. users => seats

This commit is contained in:
Kyle Spearrin
2017-04-10 10:44:27 -04:00
parent bb0555a6d9
commit 5705f4f736
12 changed files with 82 additions and 93 deletions

View File

@@ -6,13 +6,13 @@ namespace Bit.Core.Models.StaticStore
{
public string Name { get; set; }
public string StripePlanId { get; set; }
public string StripeUserPlanId { get; set; }
public string StripeSeatPlanId { get; set; }
public PlanType Type { get; set; }
public short BaseUsers { get; set; }
public bool CanBuyAdditionalUsers { get; set; }
public short? MaxAdditionalUsers { get; set; }
public short BaseSeats { get; set; }
public bool CanBuyAdditionalSeats { get; set; }
public short? MaxAdditionalSeats { get; set; }
public decimal BasePrice { get; set; }
public decimal UserPrice { get; set; }
public decimal SeatPrice { get; set; }
public short? MaxSubvaults { get; set; }
public int UpgradeSortOrder { get; set; }
public bool Disabled { get; set; }