1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-01 08:02:49 -05:00

Added use groups bit to org

This commit is contained in:
Kyle Spearrin
2017-05-08 14:22:40 -04:00
parent fdf7546f33
commit 81d4be6f56
10 changed files with 25 additions and 67 deletions

View File

@ -10,6 +10,9 @@ namespace Bit.Core.Models.Api
{
Id = organization.OrganizationId.ToString();
Name = organization.Name;
UseGroups = organization.UseGroups;
Seats = organization.Seats;
MaxCollections = organization.MaxCollections;
Key = organization.Key;
Status = organization.Status;
Type = organization.Type;
@ -18,6 +21,9 @@ namespace Bit.Core.Models.Api
public string Id { get; set; }
public string Name { get; set; }
public bool UseGroups { get; set; }
public int Seats { get; set; }
public int MaxCollections { get; set; }
public string Key { get; set; }
public OrganizationUserStatusType Status { get; set; }
public OrganizationUserType Type { get; set; }

View File

@ -7,6 +7,9 @@ namespace Bit.Core.Models.Data
public Guid OrganizationId { get; set; }
public Guid? UserId { get; set; }
public string Name { get; set; }
public bool UseGroups { get; set; }
public int Seats { get; set; }
public int MaxCollections { get; set; }
public string Key { get; set; }
public Enums.OrganizationUserStatusType Status { get; set; }
public Enums.OrganizationUserType Type { get; set; }

View File

@ -14,6 +14,7 @@ namespace Bit.Core.Models.Table
public PlanType PlanType { get; set; }
public short? Seats { get; set; }
public short? MaxCollections { get; set; }
public bool UseGroups { get; set; }
public string StripeCustomerId { get; set; }
public string StripeSubscriptionId { get; set; }
public bool Enabled { get; set; } = true;