This commit is contained in:
@@ -12,24 +12,23 @@ namespace AyaNova.Models
|
||||
|
||||
public long Id { get; set; }
|
||||
public uint Concurrency { get; set; }
|
||||
|
||||
[Required]
|
||||
public long WorkOrderItemId { get; set; }
|
||||
[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; }
|
||||
|
||||
public long? RequestedByUserId { get; set; }
|
||||
[NotMapped]
|
||||
public string RequestedByUserViz { get; set; }
|
||||
public long? PurchaseOrderItemId { get; set; }
|
||||
public long? RequestedByUserId { get; set; }
|
||||
[Required]
|
||||
public decimal Received { get; set; }
|
||||
|
||||
|
||||
|
||||
[NotMapped]
|
||||
public string RequestedByUserViz { get; set; }
|
||||
[NotMapped]
|
||||
public string PurchaseOrderViz { get; set; }
|
||||
[NotMapped]
|
||||
@@ -38,23 +37,12 @@ namespace AyaNova.Models
|
||||
public DateTime? PurchaseOrderDateViz { get; set; }
|
||||
[NotMapped]
|
||||
public DateTime? PurchaseOrderExpectedDateViz { get; set; }
|
||||
|
||||
//redundant; the poid suffices
|
||||
// [NotMapped]
|
||||
// public bool PurchaseOrderOnOrderViz { get; set; }
|
||||
|
||||
[Required]
|
||||
public decimal Received { get; set; }
|
||||
|
||||
|
||||
[Required]
|
||||
public long WorkOrderItemId { get; set; }
|
||||
[NotMapped]
|
||||
public string PartWarehouseViz { get; set; }
|
||||
[JsonIgnore]
|
||||
public WorkOrderItem WorkOrderItem { get; set; }
|
||||
|
||||
[NotMapped, JsonIgnore]
|
||||
public AyaType AyaType { get => AyaType.WorkOrderItemPartRequest; }
|
||||
|
||||
//workaround for notification
|
||||
[NotMapped, JsonIgnore]
|
||||
public List<string> Tags { get; set; } = new List<string>();
|
||||
|
||||
Reference in New Issue
Block a user