This commit is contained in:
杰 朱
2021-05-18 14:54:50 +08:00
8 changed files with 378 additions and 224 deletions

View File

@@ -0,0 +1,68 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NX.ERP.Model.Response.Store
{
// {
// "MaterialAppVouchs_lst": [
// {
// "MaterialApp_dtl_id": 1000009219,
// "MaterialApp_id": 1000002408,
// "material_code": "524020",
// "qty": 1,
// "ipesodid": 1000009219,
// },
// "MaterialApp_id": 1000002408,
// "cCode": "LLSQ201000089",
// "dDate": "2021-01-03T00:00:00+08:00",
// "prepared_by": "王",
// }
//]
public class MaterialAppDetail
{
private int materialAppDtlId;
private int materialAppId;
private string materialCode;
private decimal qty;
private int pesodid;
public int MaterialAppDtlId { get => materialAppDtlId; set => materialAppDtlId = value; }
public int MaterialAppId { get => materialAppId; set => materialAppId = value; }
public string MaterialCode { get => materialCode; set => materialCode = value; }
public decimal Qty { get => qty; set => qty = value; }
public int Pesodid { get => pesodid; set => pesodid = value; }
}
/// <summary>
///
/// </summary>
public class MaterialApp
{
private int id;
private string code;
private DateTime date;
private string preparedBy;
private ICollection<MaterialAppDetail> materialAppVouchsLst = new List<MaterialAppDetail>();
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 PreparedBy { get => preparedBy; set => preparedBy = value; }
public ICollection<MaterialAppDetail> MaterialAppVouchsLst { get => materialAppVouchsLst; set => materialAppVouchsLst = value; }
}
}