mirror of
https://github.com/bitwarden/server
synced 2026-01-08 11:33:26 +00:00
[PM-8830] Billing Enums Rename (#4180)
* Renamed ProductType to ProductTierType * Renamed Product properties to ProductTier * Moved ProductTierType to Bit.Core.Billing.Enums namespace from Bit.Core.Enums * Moved PlanType enum to Bit.Core.Billing.Enums * Moved StaticStore to Bit.Core.Billing.Models.StaticStore namespace * Added ProductType enum * dotnet format
This commit is contained in:
@@ -1,51 +0,0 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Bit.Core.Enums;
|
||||
|
||||
public enum PlanType : byte
|
||||
{
|
||||
[Display(Name = "Free")]
|
||||
Free = 0,
|
||||
[Display(Name = "Families 2019")]
|
||||
FamiliesAnnually2019 = 1,
|
||||
[Display(Name = "Teams (Monthly) 2019")]
|
||||
TeamsMonthly2019 = 2,
|
||||
[Display(Name = "Teams (Annually) 2019")]
|
||||
TeamsAnnually2019 = 3,
|
||||
[Display(Name = "Enterprise (Monthly) 2019")]
|
||||
EnterpriseMonthly2019 = 4,
|
||||
[Display(Name = "Enterprise (Annually) 2019")]
|
||||
EnterpriseAnnually2019 = 5,
|
||||
[Display(Name = "Custom")]
|
||||
Custom = 6,
|
||||
[Display(Name = "Families")]
|
||||
FamiliesAnnually = 7,
|
||||
[Display(Name = "Teams (Monthly) 2020")]
|
||||
TeamsMonthly2020 = 8,
|
||||
[Display(Name = "Teams (Annually) 2020")]
|
||||
TeamsAnnually2020 = 9,
|
||||
[Display(Name = "Enterprise (Monthly) 2020")]
|
||||
EnterpriseMonthly2020 = 10,
|
||||
[Display(Name = "Enterprise (Annually) 2020")]
|
||||
EnterpriseAnnually2020 = 11,
|
||||
[Display(Name = "Teams (Monthly) 2023")]
|
||||
TeamsMonthly2023 = 12,
|
||||
[Display(Name = "Teams (Annually) 2023")]
|
||||
TeamsAnnually2023 = 13,
|
||||
[Display(Name = "Enterprise (Monthly) 2023")]
|
||||
EnterpriseMonthly2023 = 14,
|
||||
[Display(Name = "Enterprise (Annually) 2023")]
|
||||
EnterpriseAnnually2023 = 15,
|
||||
[Display(Name = "Teams Starter 2023")]
|
||||
TeamsStarter2023 = 16,
|
||||
[Display(Name = "Teams (Monthly)")]
|
||||
TeamsMonthly = 17,
|
||||
[Display(Name = "Teams (Annually)")]
|
||||
TeamsAnnually = 18,
|
||||
[Display(Name = "Enterprise (Monthly)")]
|
||||
EnterpriseMonthly = 19,
|
||||
[Display(Name = "Enterprise (Annually)")]
|
||||
EnterpriseAnnually = 20,
|
||||
[Display(Name = "Teams Starter")]
|
||||
TeamsStarter = 21,
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Bit.Core.Enums;
|
||||
|
||||
public enum ProductType : byte
|
||||
{
|
||||
[Display(Name = "Free")]
|
||||
Free = 0,
|
||||
[Display(Name = "Families")]
|
||||
Families = 1,
|
||||
[Display(Name = "Teams")]
|
||||
Teams = 2,
|
||||
[Display(Name = "Enterprise")]
|
||||
Enterprise = 3,
|
||||
[Display(Name = "Teams Starter")]
|
||||
TeamsStarter = 4,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user