using System; using Bit.Core.Enums.Provider; namespace Bit.Core.Models.Data { public class ProviderUserOrganizationDetails { public Guid OrganizationId { get; set; } public Guid? UserId { get; set; } public string Name { get; set; } public bool UsePolicies { get; set; } public bool UseSso { get; set; } public bool UseGroups { get; set; } public bool UseDirectory { get; set; } public bool UseEvents { get; set; } public bool UseTotp { get; set; } public bool Use2fa { get; set; } public bool UseApi{ get; set; } public bool UseResetPassword { get; set; } public bool UseBusinessPortal => UsePolicies || UseSso; public bool SelfHost { get; set; } public bool UsersGetPremium { get; set; } public int? Seats { get; set; } public short? MaxCollections { get; set; } public short? MaxStorageGb { get; set; } public string Key { get; set; } public ProviderUserStatusType Status { get; set; } public ProviderUserType Type { get; set; } public bool Enabled { get; set; } public string Identifier { get; set; } public string PublicKey { get; set; } public string PrivateKey { get; set; } public Guid? ProviderId { get; set; } public Guid? ProviderUserId { get; set; } public string ProviderName { get; set; } } }