mirror of
https://github.com/bitwarden/server.git
synced 2025-07-04 01:22:50 -05:00
some helper functions for users and orgs
This commit is contained in:
@ -1,11 +1,18 @@
|
||||
namespace Bit.Core.Enums
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Bit.Core.Enums
|
||||
{
|
||||
public enum GatewayType : byte
|
||||
{
|
||||
[Display(Name = "Stripe")]
|
||||
Stripe = 0,
|
||||
[Display(Name = "Braintree")]
|
||||
Braintree = 1,
|
||||
[Display(Name = "Apple App Store")]
|
||||
AppStore = 2,
|
||||
[Display(Name = "Google Play Store")]
|
||||
PlayStore = 3,
|
||||
[Display(Name = "Coinbase")]
|
||||
Coinbase = 4
|
||||
}
|
||||
}
|
||||
|
@ -1,13 +1,22 @@
|
||||
namespace Bit.Core.Enums
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Bit.Core.Enums
|
||||
{
|
||||
public enum PlanType : byte
|
||||
{
|
||||
[Display(Name = "Free")]
|
||||
Free = 0,
|
||||
[Display(Name = "Families")]
|
||||
FamiliesAnnually = 1,
|
||||
[Display(Name = "Teams (Monthly)")]
|
||||
TeamsMonthly = 2,
|
||||
[Display(Name = "Teams (Annually)")]
|
||||
TeamsAnnually = 3,
|
||||
[Display(Name = "Enterprise (Monthly)")]
|
||||
EnterpriseMonthly = 4,
|
||||
[Display(Name = "Enterprise (Annually)")]
|
||||
EnterpriseAnnually = 5,
|
||||
[Display(Name = "Custom")]
|
||||
Custom = 6
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user