材料出库单
This commit is contained in:
20
NX.ERP.Model/MOM/MoAllocate.cs
Normal file
20
NX.ERP.Model/MOM/MoAllocate.cs
Normal 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 int invCode;
|
||||
private int qty;
|
||||
private int modid;
|
||||
|
||||
public int Id { get => id; set => id = value; }
|
||||
public int InvCode { get => invCode; set => invCode = value; }
|
||||
public int Qty { get => qty; set => qty = value; }
|
||||
public int ModId { get => modid; set => modid = value; }
|
||||
}
|
||||
}
|
||||
18
NX.ERP.Model/MOM/MomDetail.cs
Normal file
18
NX.ERP.Model/MOM/MomDetail.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
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;
|
||||
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; }
|
||||
}
|
||||
}
|
||||
22
NX.ERP.Model/MOM/MomOrder.cs
Normal file
22
NX.ERP.Model/MOM/MomOrder.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NX.ERP.Model.MOM
|
||||
{
|
||||
public class MomOrder
|
||||
{
|
||||
private int id;
|
||||
private string code;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public ICollection<MomDetail> momDetails { get; set; } = new List<MomDetail>();
|
||||
public int Id { get => id; set => id = value; }
|
||||
public string Code { get => code; set => code = value; }
|
||||
public ICollection<MoAllocate> moAllocates { get; set; } = new List<MoAllocate>();
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -57,6 +57,9 @@
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="MOM\MoAllocate.cs" />
|
||||
<Compile Include="MOM\MomDetail.cs" />
|
||||
<Compile Include="MOM\MomOrder.cs" />
|
||||
<Compile Include="Purchase\Arrival.cs" />
|
||||
<Compile Include="Purchase\ArrivalDetail.cs" />
|
||||
<Compile Include="Base\Bin.cs" />
|
||||
@@ -67,6 +70,8 @@
|
||||
<Compile Include="Base\Unit.cs" />
|
||||
<Compile Include="Base\Warehouse.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Store\MaterielStoreOut.cs" />
|
||||
<Compile Include="Store\MaterielStoreOutDetail.cs" />
|
||||
<Compile Include="Store\PuStoreIn.cs" />
|
||||
<Compile Include="Store\PuStoreInDetail.cs" />
|
||||
</ItemGroup>
|
||||
|
||||
28
NX.ERP.Model/Store/MaterielStoreOut.cs
Normal file
28
NX.ERP.Model/Store/MaterielStoreOut.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NX.ERP.Model.Store
|
||||
{
|
||||
public class MaterielStoreOut
|
||||
{
|
||||
private int id;
|
||||
private string code;
|
||||
private string whcode;
|
||||
private string proorderid;
|
||||
private DateTime date;
|
||||
private string sourceCode;
|
||||
private string source;
|
||||
private IList<MaterielStoreOutDetail> details;
|
||||
|
||||
public int Id { get => id; set => id = value; }
|
||||
public string Code { get => code; set => code = value; }
|
||||
public string Whcode { get => whcode; set => whcode = value; }
|
||||
public string Proorderid { get => proorderid; set => proorderid = value; }
|
||||
public string SourceCode { get => sourceCode; set => sourceCode = value; }
|
||||
public string Source { get => source; set => source = value; }
|
||||
public DateTime Date { get => date; set => date = value; }
|
||||
public IList<MaterielStoreOutDetail> Details { get => details; set => details = value; }
|
||||
}
|
||||
}
|
||||
21
NX.ERP.Model/Store/MaterielStoreOutDetail.cs
Normal file
21
NX.ERP.Model/Store/MaterielStoreOutDetail.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NX.ERP.Model.Store
|
||||
{
|
||||
public class MaterielStoreOutDetail
|
||||
{
|
||||
|
||||
private double quantity;
|
||||
private string binCode;
|
||||
private string cinvcode;
|
||||
public int sorceDetailId { get; set; }
|
||||
|
||||
|
||||
public double Quantity { get => quantity; set => quantity = value; }
|
||||
public string BinCode { get => binCode; set => binCode = value; }
|
||||
public string Cinvcode { get => cinvcode; set => cinvcode = value; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user