1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 07:36:14 -05:00

Sync EF migrations for .NET / EF Core 8 (#4448)

* Sync EF migrations for .NET 8

* Format

* Redo migrations with billing fix

* Forgot to format again
This commit is contained in:
Matt Bishop
2024-07-02 10:08:34 -04:00
committed by GitHub
parent 554a004d7a
commit e8c5d73062
10 changed files with 8323 additions and 23 deletions

View File

@ -1,4 +1,5 @@
using Bit.Core.Entities;
using System.ComponentModel.DataAnnotations;
using Bit.Core.Entities;
using Bit.Core.Utilities;
namespace Bit.Core.Billing.Entities;
@ -7,9 +8,13 @@ public class ProviderInvoiceItem : ITableObject<Guid>
{
public Guid Id { get; set; }
public Guid ProviderId { get; set; }
[MaxLength(50)]
public string InvoiceId { get; set; }
[MaxLength(50)]
public string InvoiceNumber { get; set; }
[MaxLength(50)]
public string ClientName { get; set; }
[MaxLength(50)]
public string PlanName { get; set; }
public int AssignedSeats { get; set; }
public int UsedSeats { get; set; }