mirror of
https://github.com/bitwarden/server.git
synced 2025-07-27 20:41:16 -05:00
29 lines
665 B
C#
29 lines
665 B
C#
namespace Bit.Core.Billing.Organizations.Models;
|
|
|
|
public record OrganizationMetadata(
|
|
bool IsEligibleForSelfHost,
|
|
bool IsManaged,
|
|
bool IsOnSecretsManagerStandalone,
|
|
bool IsSubscriptionUnpaid,
|
|
bool HasSubscription,
|
|
bool HasOpenInvoice,
|
|
bool IsSubscriptionCanceled,
|
|
DateTime? InvoiceDueDate,
|
|
DateTime? InvoiceCreatedDate,
|
|
DateTime? SubPeriodEndDate,
|
|
int OrganizationOccupiedSeats)
|
|
{
|
|
public static OrganizationMetadata Default => new OrganizationMetadata(
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
null,
|
|
null,
|
|
null,
|
|
0);
|
|
}
|