修正项目结构

This commit is contained in:
admin
2021-01-15 09:26:17 +08:00
parent 62bd133757
commit a2fd7eca0b
44 changed files with 230 additions and 73 deletions

View File

@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NX.ERP.Model.MOM
{
public class MoAllocate
{
private int id;
private string invCode;
private int qty;
private int modid;
public int Id { get => id; set => id = value; }
public string InvCode { get => invCode; set => invCode = value; }
public int Qty { get => qty; set => qty = value; }
public int ModId { get => modid; set => modid = value; }
}
}

View File

@@ -0,0 +1,20 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NX.ERP.Model.MOM
{
public class MomDetail
{
private int id;
private double qty;
private int modid;
[JsonIgnore]
public ICollection<MoAllocate> moAllocates { get; set; } = new List<MoAllocate>();
public int Id { get => id; set => id = value; }
public double Qty { get => qty; set => qty = value; }
public int Modid { get => modid; set => modid = value; }
}
}

View File

@@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
namespace NX.ERP.Model.MOM
{
public class MomOrder
{
private int id;
private string code;
/// <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<MoAllocate> Allocates { get; set; } = new List<MoAllocate>();
}
}