153 lines
4.2 KiB
C#
153 lines
4.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using Newtonsoft.Json;
|
|
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; }
|
|
/// <summary>
|
|
/// 待发货数量
|
|
/// </summary>
|
|
public decimal Quantit { get => qty; set => qty = value; }
|
|
/// <summary>
|
|
/// 已发货数量
|
|
/// </summary>
|
|
public decimal OutQuantity { get; set; }
|
|
public int Pesodid { get => pesodid; set => pesodid = value; }
|
|
/// <summary>
|
|
/// 订单编号
|
|
/// </summary>
|
|
public string MoCode { get; set; }
|
|
/// <summary>
|
|
/// 订单明细ID
|
|
/// </summary>
|
|
|
|
public int AllocateId { get; set; }
|
|
|
|
|
|
[JsonIgnore]
|
|
public string Moseq { get; set; }
|
|
[JsonIgnore]
|
|
public string RejectCode { get; set; }
|
|
[JsonIgnore]
|
|
public string OmomId { get; set; }
|
|
[JsonIgnore]
|
|
public string OpSeq { get; set; }
|
|
[JsonIgnore]
|
|
public string OpDesc { get; set; }
|
|
[JsonIgnore]
|
|
public string MoLotCode { get; set; }
|
|
[JsonIgnore]
|
|
public string Mocode { get; set; }
|
|
[JsonIgnore]
|
|
public string MPoIds { get; set; }
|
|
[JsonIgnore]
|
|
public string OmCode { get; set; }
|
|
[JsonIgnore]
|
|
public string OMoDId { get; set; }
|
|
[JsonIgnore]
|
|
|
|
public string ciqBookCode { get; set; }
|
|
[JsonIgnore]
|
|
public string mWorkCenterCode { get; set; }
|
|
[JsonIgnore]
|
|
|
|
public string ServiceCode { get; set; }
|
|
[JsonIgnore]
|
|
public string SoType { get; set; }
|
|
[JsonIgnore]
|
|
public string SoCode { get; set; }
|
|
[JsonIgnore]
|
|
public string SodId { get; set; }
|
|
[JsonIgnore]
|
|
public string SoSeq { get; set; }
|
|
[JsonIgnore]
|
|
public string OrderType { get; set; }
|
|
[JsonIgnore]
|
|
public string OrderCode { get; set; }
|
|
[JsonIgnore]
|
|
public string OrderdId { get; set; }
|
|
[JsonIgnore]
|
|
public string OrderSeq { get; set; }
|
|
[JsonIgnore]
|
|
public string PesoType { get; set; }
|
|
[JsonIgnore]
|
|
|
|
public string PesoCode { get; set; }
|
|
[JsonIgnore]
|
|
|
|
public string PesodId { get; set; }
|
|
[JsonIgnore]
|
|
|
|
public string PesoSeq { get; set; }
|
|
|
|
[JsonIgnore]
|
|
public string DeptName { get; set; }
|
|
[JsonIgnore]
|
|
public string ProductNo { get; set; }
|
|
|
|
[JsonIgnore]
|
|
public decimal MoQuantity { get; set; }
|
|
[JsonIgnore]
|
|
public string DeptCode { get; set; }
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <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; }
|
|
}
|
|
}
|