This commit is contained in:
2021-05-26 19:45:48 +00:00
parent f67baa2315
commit 40cf642b06
2 changed files with 30 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
using System.Collections.Generic;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Newtonsoft.Json;
@@ -14,13 +14,30 @@ namespace AyaNova.Models
[Required]
public long PartId { get; set; }
[NotMapped]
public string PartViz { get; set; }
[NotMapped]
public string UpcViz { get; set; }
[Required]
public long PartWarehouseId { get; set; }
[NotMapped]
public string PartWarehouseViz { get; set; }
[Required]
public decimal Quantity { get; set; }
[Required]
public long PurchaseOrderItemId { get; set; }
[NotMapped]
public string PurchaseOrderViz { get; set; }
[NotMapped]
public long? PurchaseOrderIdViz { get; set; }
[NotMapped]
public DateTime? PurchaseOrderDateViz { get; set; }
[NotMapped]
public DateTime? PurchaseOrderExpectedDateViz { get; set; }
[NotMapped]
public bool PurchaseOrderOnOrderViz { get; set; }
[Required]
public decimal Received { get; set; }