This commit is contained in:
2021-02-17 15:14:12 +00:00
parent 938806bd55
commit 8f1cb5d276
6 changed files with 10 additions and 9 deletions

View File

@@ -143,6 +143,7 @@ namespace AyaNova.Models
///////////////////////////////
//SERIALIZED OBJECTS
//
modelBuilder.Entity<PurchaseOrder>().Property(z => z.Serial).UseIdentityByDefaultColumn();
modelBuilder.Entity<Widget>().Property(z => z.Serial).UseIdentityByDefaultColumn();
modelBuilder.Entity<WorkOrder>().Property(z => z.Serial).UseIdentityByDefaultColumn();
modelBuilder.Entity<Quote>().Property(z => z.Serial).UseIdentityByDefaultColumn();

View File

@@ -15,7 +15,7 @@ namespace AyaNova.Models
public long Id { get; set; }
public uint Concurrency { get; set; }
[Required]
public long Serial { get; set; }//WAS PO NUMBER
public string Notes { get; set; }
public string Wiki { get; set; }