mirror of
https://github.com/bitwarden/server.git
synced 2025-07-07 02:52:50 -05:00
upgrade org api
This commit is contained in:
@ -3,19 +3,14 @@ using Bit.Core.Models.Table;
|
||||
|
||||
namespace Bit.Core.Models.Business
|
||||
{
|
||||
public class OrganizationSignup
|
||||
public class OrganizationSignup : OrganizationUpgrade
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public string BusinessName { get; set; }
|
||||
public string BillingEmail { get; set; }
|
||||
public User Owner { get; set; }
|
||||
public string OwnerKey { get; set; }
|
||||
public PlanType Plan { get; set; }
|
||||
public short AdditionalSeats { get; set; }
|
||||
public short AdditionalStorageGb { get; set; }
|
||||
public bool PremiumAccessAddon { get; set; }
|
||||
public string CollectionName { get; set; }
|
||||
public PaymentMethodType? PaymentMethodType { get; set; }
|
||||
public string PaymentToken { get; set; }
|
||||
public string CollectionName { get; set; }
|
||||
}
|
||||
}
|
||||
|
13
src/Core/Models/Business/OrganizationUpgrade.cs
Normal file
13
src/Core/Models/Business/OrganizationUpgrade.cs
Normal file
@ -0,0 +1,13 @@
|
||||
using Bit.Core.Enums;
|
||||
|
||||
namespace Bit.Core.Models.Business
|
||||
{
|
||||
public class OrganizationUpgrade
|
||||
{
|
||||
public string BusinessName { get; set; }
|
||||
public PlanType Plan { get; set; }
|
||||
public short AdditionalSeats { get; set; }
|
||||
public short AdditionalStorageGb { get; set; }
|
||||
public bool PremiumAccessAddon { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user