1
0
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:
Kyle Spearrin
2018-03-22 17:33:22 -04:00
parent b011b4e970
commit 7075d8396d
9 changed files with 227 additions and 20 deletions

View File

@ -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
}
}

View File

@ -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
}
}