Ça va prendre un Update-Database

This commit is contained in:
MarcEricMartel
2022-11-04 15:22:24 -07:00
parent ca88b04811
commit 0b7b9689b1
7 changed files with 119 additions and 42 deletions

View File

@@ -37,5 +37,13 @@ public class InvoiceModel {
[Required]
public AddressModel ShippingAddress { get; set; }
public InStates Status { get; set; } = InStates.Confirmed;
public InvoiceModel() { }
public InvoiceModel(SendInvoiceModel sinv) {
FirstName = sinv.FirstName;
LastName = sinv.LastName;
PhoneNumber = sinv.PhoneNumber;
EmailAddress = sinv.EmailAddress;
}
}