1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 07:36:14 -05: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

@ -94,8 +94,8 @@ namespace Bit.Core.Utilities
new Plan
{
Type = PlanType.Free,
BaseUsers = 2,
CanBuyAdditionalUsers = false,
BaseSeats = 2,
CanBuyAdditionalSeats = false,
MaxSubvaults = 2,
Name = "Free",
UpgradeSortOrder = -1 // Always the lowest plan, cannot be upgraded to
@ -103,38 +103,38 @@ namespace Bit.Core.Utilities
new Plan
{
Type = PlanType.PersonalAnnually,
BaseUsers = 5,
BaseSeats = 5,
BasePrice = 12,
UserPrice = 12,
CanBuyAdditionalUsers = true,
MaxAdditionalUsers = 5,
SeatPrice = 12,
CanBuyAdditionalSeats = true,
MaxAdditionalSeats = 5,
Name = "Personal",
StripePlanId = "personal-annual",
StripeUserPlanId = "personal-user-annual",
StripeSeatPlanId = "personal-user-annual",
UpgradeSortOrder = 1
},
new Plan
{
Type = PlanType.TeamsMonthly,
BaseUsers = 5,
BaseSeats = 5,
BasePrice = 8,
UserPrice = 2.5M,
CanBuyAdditionalUsers = true,
SeatPrice = 2.5M,
CanBuyAdditionalSeats = true,
Name = "Teams (Monthly)",
StripePlanId = "teams-monthly",
StripeUserPlanId = "teams-user-monthly",
StripeSeatPlanId = "teams-user-monthly",
UpgradeSortOrder = 2
},
new Plan
{
Type = PlanType.TeamsAnnually,
BaseUsers = 5,
BaseSeats = 5,
BasePrice = 60,
UserPrice = 24,
CanBuyAdditionalUsers = true,
SeatPrice = 24,
CanBuyAdditionalSeats = true,
Name = "Teams (Annually)",
StripePlanId = "teams-annual",
StripeUserPlanId = "teams-user-annual",
StripeSeatPlanId = "teams-user-annual",
UpgradeSortOrder = 2
}
};