mirror of
https://github.com/bitwarden/server.git
synced 2025-05-20 11:04:31 -05:00
[PM-2944] Enable nullable
For Billing Entities (#4390)
* Enable `nullable` For Billing Entities * Remove .gitignore Change
This commit is contained in:
parent
1d09b88ade
commit
b2df2e82dd
@ -2,6 +2,8 @@
|
|||||||
using Bit.Core.Entities;
|
using Bit.Core.Entities;
|
||||||
using Bit.Core.Utilities;
|
using Bit.Core.Utilities;
|
||||||
|
|
||||||
|
#nullable enable
|
||||||
|
|
||||||
namespace Bit.Core.Billing.Entities;
|
namespace Bit.Core.Billing.Entities;
|
||||||
|
|
||||||
public class ProviderInvoiceItem : ITableObject<Guid>
|
public class ProviderInvoiceItem : ITableObject<Guid>
|
||||||
@ -9,13 +11,13 @@ public class ProviderInvoiceItem : ITableObject<Guid>
|
|||||||
public Guid Id { get; set; }
|
public Guid Id { get; set; }
|
||||||
public Guid ProviderId { get; set; }
|
public Guid ProviderId { get; set; }
|
||||||
[MaxLength(50)]
|
[MaxLength(50)]
|
||||||
public string InvoiceId { get; set; }
|
public string InvoiceId { get; set; } = null!;
|
||||||
[MaxLength(50)]
|
[MaxLength(50)]
|
||||||
public string InvoiceNumber { get; set; }
|
public string? InvoiceNumber { get; set; }
|
||||||
[MaxLength(50)]
|
[MaxLength(50)]
|
||||||
public string ClientName { get; set; }
|
public string ClientName { get; set; } = null!;
|
||||||
[MaxLength(50)]
|
[MaxLength(50)]
|
||||||
public string PlanName { get; set; }
|
public string PlanName { get; set; } = null!;
|
||||||
public int AssignedSeats { get; set; }
|
public int AssignedSeats { get; set; }
|
||||||
public int UsedSeats { get; set; }
|
public int UsedSeats { get; set; }
|
||||||
public decimal Total { get; set; }
|
public decimal Total { get; set; }
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
using Bit.Core.Entities;
|
using Bit.Core.Entities;
|
||||||
using Bit.Core.Utilities;
|
using Bit.Core.Utilities;
|
||||||
|
|
||||||
|
#nullable enable
|
||||||
|
|
||||||
namespace Bit.Core.Billing.Entities;
|
namespace Bit.Core.Billing.Entities;
|
||||||
|
|
||||||
public class ProviderPlan : ITableObject<Guid>
|
public class ProviderPlan : ITableObject<Guid>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user