This commit is contained in:
2021-06-11 14:05:48 +00:00
parent 6774053e36
commit bcd0530026

View File

@@ -1,4 +1,5 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Newtonsoft.Json;
@@ -24,7 +25,7 @@ namespace AyaNova.Models
public string PartWarehouseViz { get; set; }
[Required]
public decimal Quantity { get; set; }
public long? PurchaseOrderItemId { get; set; }
[NotMapped]
public string PurchaseOrderViz { get; set; }
@@ -49,6 +50,10 @@ namespace AyaNova.Models
[NotMapped, JsonIgnore]
public AyaType AyaType { get => AyaType.WorkOrderItemPartRequest; }
//tag workaround for notification, workorderbiz will substitute workorder tags instead when processing standard notification
[NotMapped, JsonIgnore]
public List<string> Tags { get; set; } = new List<string>();
}//eoc
}//eons