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

use directory bit on orgs

This commit is contained in:
Kyle Spearrin
2017-05-20 15:31:16 -04:00
parent c362f88246
commit 2ad365706c
10 changed files with 28 additions and 7 deletions

View File

@ -11,6 +11,7 @@ namespace Bit.Core.Models.Api
Id = organization.OrganizationId.ToString();
Name = organization.Name;
UseGroups = organization.UseGroups;
UseDirectory = organization.UseDirectory;
Seats = organization.Seats;
MaxCollections = organization.MaxCollections;
Key = organization.Key;
@ -22,6 +23,7 @@ namespace Bit.Core.Models.Api
public string Id { get; set; }
public string Name { get; set; }
public bool UseGroups { get; set; }
public bool UseDirectory { get; set; }
public int Seats { get; set; }
public int MaxCollections { get; set; }
public string Key { get; set; }

View File

@ -8,6 +8,7 @@ namespace Bit.Core.Models.Data
public Guid? UserId { get; set; }
public string Name { get; set; }
public bool UseGroups { get; set; }
public bool UseDirectory { get; set; }
public int Seats { get; set; }
public int MaxCollections { get; set; }
public string Key { get; set; }

View File

@ -12,6 +12,7 @@ namespace Bit.Core.Models.StaticStore
public bool CanBuyAdditionalSeats { get; set; }
public short? MaxAdditionalSeats { get; set; }
public bool UseGroups { get; set; }
public bool UseDirectory { get; set; }
public decimal BasePrice { get; set; }
public decimal SeatPrice { get; set; }
public short? MaxCollections { get; set; }

View File

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