using System.Collections.Generic;
|
|
namespace MES.Service.Dto.webApi
|
{
|
/// <summary>
|
/// ERP 传输的制造拆卸单(主表 + 明细集合)
|
/// </summary>
|
public class ERPZZCXD
|
{
|
public ERPZZCXA ERPZZCXA { get; set; } = new ERPZZCXA();
|
public List<ERPZZCXB> ERPZZCXB { get; set; } = new List<ERPZZCXB>();
|
}
|
|
/// <summary>
|
/// ERP 制造拆卸单 主表 DTO
|
/// </summary>
|
public class ERPZZCXA
|
{
|
public string? bill_no { get; set; } // 单据编码
|
public string? dj_lx { get; set; } // 单据类型
|
public string? kc_zz { get; set; } // 库存组织
|
public string? sw_lx { get; set; } // 事务类型
|
public string? time { get; set; } // 日期
|
public string? bm { get; set; } // 部门
|
public string? cgy { get; set; } // 仓管员
|
public string? kcz { get; set; } // 库存组
|
public string? dj_zt { get; set; } // 单据状态
|
public string? memo { get; set; } // 备注
|
public string? cphzlx { get; set; } // 成品货主类型
|
public string? cphz { get; set; } // 成品货主
|
public string? zjhzlx { get; set; } // 子件货主类型
|
public string? zjhz { get; set; } // 子件货主
|
public string? item_id { get; set; } // 物料编码id
|
public string? qty { get; set; } // 数量
|
public string? unit { get; set; } // 单位
|
public string? depot_id { get; set; } // 仓库
|
public string? erpid { get; set; } // ERP 主表id
|
public string? type { get; set; }
|
}
|
|
/// <summary>
|
/// ERP 制造拆卸单 明细 DTO
|
/// </summary>
|
public class ERPZZCXB
|
{
|
public string? erpid { get; set; } // ERP 主表id
|
public string? eid { get; set; } // ERP 单据头id
|
public string? item_id { get; set; } // 物料编码id
|
public string? qty { get; set; } // 数量
|
public string? unit { get; set; } // 单位
|
public string? depot_id { get; set; } // 仓库
|
public string? lot_no { get; set; } // 批号
|
public string? memo { get; set; } // 备注
|
}
|
}
|