增加生产订单信息输出

This commit is contained in:
admin
2021-01-22 11:25:03 +08:00
parent f941eb9743
commit 521864dc19
15 changed files with 249 additions and 39 deletions

View File

@@ -5,18 +5,23 @@ using System.Text;
using Newtonsoft.Json;
namespace NX.ERP.Model.MOM
{
public class MomOrder
public class MomOrder: BaseModel
{
private int id;
private string code;
public DateTime Date { get; set; }
//public DateTime Date { get; set; }
/// <summary>
///
/// </summary>
public ICollection<MomDetail> Details { get; set; } = new List<MomDetail>();
public int Id { get => id; set => id = value; }
public string Code { get => code; set => code = value; }
public ICollection<MomDetail> ProductDtlLst { get; set; } = new List<MomDetail>();
public int ProductOrderId { get => id; set => id = value; }
public string ProductOrderNo { get => code; set => code = value; }
public DateTime ProductDate { get; set; }
public string PreparedBy { get; set; }
[Newtonsoft.Json.JsonIgnore]
public ICollection<MoAllocate> Allocates { get; set; } = new List<MoAllocate>();