修正项目结构

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,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; }
}
}

View File

@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NX.ERP.Model.Request
{
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 Position { get => binCode; set => binCode = value; }
public string Cinvcode { get => cinvcode; set => cinvcode = value; }
}
}

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NX.ERP.Model.Store
{
public class OtherStoreInOut
{
public string Code { get; set; }
public DateTime Date { get; set; }
public string WhCode { get; set; }
public IList<OtherStoreInOutDetail> details = new List<OtherStoreInOutDetail>();
}
}

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NX.ERP.Model.Store
{
public class OtherStoreInOutDetail
{
public string InvCode { get; set; }
public double Quantity { get; set; }
public string Position { get; set; }
}
}

View File

@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NX.ERP.Model.Store
{
public class OtherStoreOut
{
public ICollection<OtherStoreOutDetail> details = new List<OtherStoreOutDetail>();
}
}

View File

@@ -0,0 +1,11 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NX.ERP.Model.Store
{
public class OtherStoreOutDetail
{
}
}

View File

@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NX.ERP.Model.Store
{
public class ProductStoreIn
{
public DateTime Date { get; set; }
public string Source { get; set; }
public string SourceCode { get; set; }
public string WhCode { get; set; }
public IList<ProductStoreInDetail> Details { get; set; } = new List<ProductStoreInDetail>();
}
}

View File

@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NX.ERP.Model.Store
{
public class ProductStoreInDetail
{
public string InvCode { get; set; }
public int Quantity { get; set; }
public string Batch { get; set; }
public string Position { get; set; }
public int SourceDetailId { get; set; }
}
}

View File

@@ -0,0 +1,45 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NX.ERP.Model.Store
{
/// <summary>
/// 采购入库单
/// </summary>
public class PuStoreIn
{
private int id;
private string code;
private DateTime date;
private string depcode;
private string whcode;
private IList<PuStoreInDetail> puStoreInDetails = new List<PuStoreInDetail>();
private string _puCode;
private string maker;
private string personCode;
public IList<PuStoreInDetail> Details { get => puStoreInDetails; set => puStoreInDetails = value; }
public int Id { get => id; set => id = value; }
public string Code { get => code; set => code = value; }
public DateTime Date { get => date; set => date = value; }
public string Depcode { get => depcode; set => depcode = value; }
public string Whcode { get => whcode; set => whcode = value; }
public string PuCode { get => _puCode; set => _puCode = value; }
public string Maker { get => maker; set => maker = value; }
public string PersonCode { get => personCode; set => personCode = value; }
public string RdCode { get; set; }
public string SupplierName { get; set; }
public string SupplierCode { get; set; }
/// <summary>
/// 源单类别
/// </summary>
public string Source { get; set; }
/// <summary>
/// 源单编号
/// </summary>
public string SourceCode { get; set; }
}
}

View File

@@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NX.ERP.Model.Store
{
public class PuStoreInDetail
{
private int id;
private int puStoreInId;
private string invcode;
private string unit;
private double quantity;
public string Batch { get; set; }
public int Id { get => id; set => id = value; }
public int PuStoreInId { get => puStoreInId; set => puStoreInId = value; }
public string Invcode { get => invcode; set => invcode = value; }
public string Unit { get => unit; set => unit = value; }
public double Quantity { get => quantity; set => quantity = value; }
public string Position { get; set; }
public int SorceDetailId { get; set; }
}
}

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NX.ERP.Model.Store
{
public class SaleStoreOut
{
public string Code { get; set; }
public string Source { get; set; }
public string SourceCode { get; set; }
public DateTime Date { get; set; }
public string WhCode { get; set; }
public IList<SaleStoreOutDetail> Details { get; set; } = new List<SaleStoreOutDetail>();
}
}

View File

@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NX.ERP.Model.Store
{
public class SaleStoreOutDetail
{
public string InvCode { get; set; }
public double Quantity { get; set; }
public string Position { get; set; }
public int SourceDetailId { get; set; }
}
}