mahao
1 year ago
7 changed files with 703 additions and 323 deletions
@ -1,177 +1,356 @@ |
|||||
using Magicodes.ExporterAndImporter.Core; |
|
||||
using System; |
using System; |
||||
using System.Collections.Generic; |
|
||||
using System.ComponentModel.DataAnnotations; |
using System.ComponentModel.DataAnnotations; |
||||
using System.Linq; |
using Magicodes.ExporterAndImporter.Core; |
||||
using System.Text; |
|
||||
using System.Threading.Tasks; |
|
||||
using Volo.Abp.Application.Dtos; |
using Volo.Abp.Application.Dtos; |
||||
|
|
||||
namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos |
namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos; |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// HBPO发运单
|
||||
|
/// </summary>
|
||||
|
public class HBPO_SE_DETAIL_DTO : EntityDto<Guid> |
||||
|
{ |
||||
|
/// <summary>
|
||||
|
/// 发货单号
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "发货单号")] |
||||
|
public string WmsBillNum { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 单据编号
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "单据编号")] |
||||
|
public string Num { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 发货时间
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "发货时间")] |
||||
|
public DateTime BillTime { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 发货人
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "发货人")] |
||||
|
public string Oper { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 排序单号
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "排序单号")] |
||||
|
public string OrderNum { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 订单序号
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "订单序号")] |
||||
|
public string Seq { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际生产码
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "实际生产码")] |
||||
|
public string RealCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 订单生产码
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "订单生产码")] |
||||
|
public string VinCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 生产码类型
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "生产码类型")] |
||||
|
public string CodeType { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 实际零件号
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "实际零件号")] |
||||
|
public string RealPartCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 零件号
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "零件号")] |
||||
|
public string PartCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 批次
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "批次")] |
||||
|
public string Batch { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// MES配置码
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "MES配置码")] |
||||
|
public string MESConfigCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 来源库位
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "来源库位")] |
||||
|
public string FromLoc { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 目标库位
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "目标库位")] |
||||
|
public string ToLoc { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 参照订单生产码
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "参照订单生产码")] |
||||
|
public string RefVinCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 单据性质
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "单据性质")] |
||||
|
public string BillCharacter { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 发货关联单号
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "发货关联单号")] |
||||
|
public string RefBillNum { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Erp目标库位
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "Erp目标库位")] |
||||
|
public string ErpToLoc { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 原生产码
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "原生产码")] |
||||
|
public string OrigiCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 备注
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "备注")] |
||||
|
public string Remark { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 塑件唯一码
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "塑件唯一码")] |
||||
|
public string UniqueCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// PJS顺序号
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "PJS顺序号")] |
||||
|
public string PjsNum { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 虚拟小总成
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "虚拟小总成")] |
||||
|
public string MatchNumber { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 发货条码
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "发货条码")] |
||||
|
public string DeliverCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 客户位置
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "客户位置")] |
||||
|
public string Position { get; set; } |
||||
|
} |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 导出
|
||||
|
/// </summary>
|
||||
|
public class HBPO_SE_DETAIL_EXPORT_DTO |
||||
{ |
{ |
||||
/// <summary>
|
/// <summary>
|
||||
/// HBPO发运单
|
/// 发货单号
|
||||
/// </summary>
|
/// </summary>
|
||||
public class HBPO_SE_DETAIL_DTO : EntityDto<Guid> |
[Display(Name = "发货单号")] |
||||
{ |
[ExporterHeader(DisplayName = "发货单号")] |
||||
/// <summary>
|
public string WmsBillNum { get; set; } |
||||
/// 期间
|
|
||||
/// </summary>
|
/// <summary>
|
||||
[Display(Name = "期间")] |
/// 单据编号
|
||||
public int Version { set; get; } |
/// </summary>
|
||||
|
[Display(Name = "单据编号")] |
||||
/// <summary>
|
[ExporterHeader(DisplayName = "单据编号")] |
||||
/// 发货时间
|
public string Num { get; set; } |
||||
/// </summary>
|
|
||||
[Display(Name = "发货时间")] |
/// <summary>
|
||||
public DateTime ShippingDate { set; get; } |
/// 发货时间
|
||||
|
/// </summary>
|
||||
/// <summary>
|
[Display(Name = "发货时间")] |
||||
/// 发运单号
|
[ExporterHeader(DisplayName = "发货时间")] |
||||
/// </summary>
|
public DateTime BillTime { get; set; } |
||||
[Display(Name = "发运单号")] |
|
||||
public string WmsBillNum { set; get; } |
/// <summary>
|
||||
|
/// 发货人
|
||||
/// <summary>
|
/// </summary>
|
||||
/// 零件号
|
[Display(Name = "发货人")] |
||||
/// </summary>
|
[ExporterHeader(DisplayName = "发货人")] |
||||
[Display(Name = "零件号")] |
public string Oper { get; set; } |
||||
public string LU { get; set; } |
|
||||
|
/// <summary>
|
||||
/// <summary>
|
/// 排序单号
|
||||
/// 生产号
|
/// </summary>
|
||||
/// </summary>
|
[Display(Name = "排序单号")] |
||||
[Display(Name = "生产号")] |
[ExporterHeader(DisplayName = "排序单号")] |
||||
public string PN { get; set; } |
public string OrderNum { get; set; } |
||||
|
|
||||
/// <summary>
|
/// <summary>
|
||||
/// 组合键值(LU+PN)
|
/// 订单序号
|
||||
/// </summary>
|
/// </summary>
|
||||
[Display(Name = "组合键值(LU+PN)")] |
[Display(Name = "订单序号")] |
||||
public string KeyCode { get; set; } |
[ExporterHeader(DisplayName = "订单序号")] |
||||
|
public string Seq { get; set; } |
||||
/// <summary>
|
|
||||
/// 数量
|
/// <summary>
|
||||
/// </summary>
|
/// 实际生产码
|
||||
[Display(Name = "数量")] |
/// </summary>
|
||||
public decimal Qty { get; set; } |
[Display(Name = "实际生产码")] |
||||
|
[ExporterHeader(DisplayName = "实际生产码")] |
||||
/// <summary>
|
public string RealCode { get; set; } |
||||
/// 日顺序号
|
|
||||
/// </summary>
|
/// <summary>
|
||||
[Display(Name = "日顺序号")] |
/// 订单生产码
|
||||
public string SeqNumber { get; set; } |
/// </summary>
|
||||
|
[Display(Name = "订单生产码")] |
||||
/// <summary>
|
[ExporterHeader(DisplayName = "订单生产码")] |
||||
/// 小总成号
|
public string VinCode { get; set; } |
||||
/// </summary>
|
|
||||
[Display(Name = "小总成号")] |
/// <summary>
|
||||
public string AssemblyCode { get; set; } |
/// 生产码类型
|
||||
|
/// </summary>
|
||||
/// <summary>
|
[Display(Name = "生产码类型")] |
||||
/// 注塑码
|
[ExporterHeader(DisplayName = "生产码类型")] |
||||
/// </summary>
|
public string CodeType { get; set; } |
||||
[Display(Name = "注塑码")] |
|
||||
public string InjectionCode { get; set; } |
/// <summary>
|
||||
|
/// 实际零件号
|
||||
/// <summary>
|
/// </summary>
|
||||
/// 订单时间
|
[Display(Name = "实际零件号")] |
||||
/// </summary>
|
[ExporterHeader(DisplayName = "实际零件号")] |
||||
[Display(Name = "订单时间")] |
public string RealPartCode { get; set; } |
||||
public DateTime BeginDate { get; set; } |
|
||||
} |
/// <summary>
|
||||
|
/// 零件号
|
||||
/// <summary>
|
/// </summary>
|
||||
/// 导出
|
[Display(Name = "零件号")] |
||||
/// </summary>
|
[ExporterHeader(DisplayName = "零件号")] |
||||
public class HBPO_SE_DETAIL_EXPORT_DTO |
public string PartCode { get; set; } |
||||
{ |
|
||||
/// <summary>
|
/// <summary>
|
||||
/// 发运单号
|
/// 批次
|
||||
/// </summary>
|
/// </summary>
|
||||
[Display(Name = "发运单号")] |
[Display(Name = "批次")] |
||||
[ExporterHeader(DisplayName = "JIS单据编号")] |
[ExporterHeader(DisplayName = "批次")] |
||||
public string WmsBillNum { set; get; } |
public string Batch { get; set; } |
||||
|
|
||||
/// <summary>
|
|
||||
/// 发货时间
|
|
||||
/// </summary>
|
|
||||
[Display(Name = "发货时间")] |
|
||||
[ExporterHeader(DisplayName = "发货时间")] |
|
||||
public DateTime ShippingDate { set; get; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 日顺序号
|
|
||||
/// </summary>
|
|
||||
[Display(Name = "日顺序号")] |
|
||||
[ExporterHeader(DisplayName = "JIS排序单号")] |
|
||||
public string SeqNumber { get; set; } |
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 期间
|
|
||||
/// </summary>
|
|
||||
[Display(Name = "期间")] |
|
||||
[ExporterHeader(DisplayName = "期间")] |
|
||||
public int Version { set; get; } |
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 零件号
|
|
||||
/// </summary>
|
|
||||
[Display(Name = "零件号")] |
|
||||
[ExporterHeader(DisplayName = "零件号")] |
|
||||
public string LU { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 生产号
|
|
||||
/// </summary>
|
|
||||
[Display(Name = "生产号")] |
|
||||
[ExporterHeader(DisplayName = "生产号")] |
|
||||
public string PN { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 组合键值(LU+PN)
|
|
||||
/// </summary>
|
|
||||
[Display(Name = "组合键值(LU+PN)")] |
|
||||
[ExporterHeader(DisplayName = "组合键值(LU+PN)")] |
|
||||
public string KeyCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 数量
|
|
||||
/// </summary>
|
|
||||
[Display(Name = "数量")] |
|
||||
[ExporterHeader(DisplayName = "数量")] |
|
||||
public decimal Qty { get; set; } |
|
||||
|
|
||||
|
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 小总成号
|
|
||||
/// </summary>
|
|
||||
[Display(Name = "小总成号")] |
|
||||
[ExporterHeader(DisplayName = "小总成号")] |
|
||||
public string AssemblyCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 注塑码
|
|
||||
/// </summary>
|
|
||||
[Display(Name = "注塑码")] |
|
||||
[ExporterHeader(DisplayName = "注塑码")] |
|
||||
public string InjectionCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 订单时间
|
|
||||
/// </summary>
|
|
||||
[Display(Name = "订单时间")] |
|
||||
[ExporterHeader(DisplayName = "订单时间")] |
|
||||
public DateTime BeginDate { get; set; } |
|
||||
} |
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// MES配置码
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "MES配置码")] |
||||
|
[ExporterHeader(DisplayName = "MES配置码")] |
||||
|
public string MESConfigCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 来源库位
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "来源库位")] |
||||
|
[ExporterHeader(DisplayName = "来源库位")] |
||||
|
public string FromLoc { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 目标库位
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "目标库位")] |
||||
|
[ExporterHeader(DisplayName = "目标库位")] |
||||
|
public string ToLoc { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 参照订单生产码
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "参照订单生产码")] |
||||
|
[ExporterHeader(DisplayName = "参照订单生产码")] |
||||
|
public string RefVinCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 单据性质
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "单据性质")] |
||||
|
[ExporterHeader(DisplayName = "单据性质")] |
||||
|
public string BillCharacter { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 发货关联单号
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "发货关联单号")] |
||||
|
[ExporterHeader(DisplayName = "发货关联单号")] |
||||
|
public string RefBillNum { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Erp目标库位
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "Erp目标库位")] |
||||
|
[ExporterHeader(DisplayName = "Erp目标库位")] |
||||
|
public string ErpToLoc { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 原生产码
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "原生产码")] |
||||
|
[ExporterHeader(DisplayName = "原生产码")] |
||||
|
public string OrigiCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 备注
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "备注")] |
||||
|
[ExporterHeader(DisplayName = "备注")] |
||||
|
public string Remark { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 塑件唯一码
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "塑件唯一码")] |
||||
|
[ExporterHeader(DisplayName = "塑件唯一码")] |
||||
|
public string UniqueCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// PJS顺序号
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "PJS顺序号")] |
||||
|
[ExporterHeader(DisplayName = "PJS顺序号")] |
||||
|
public string PjsNum { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 虚拟小总成
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "虚拟小总成")] |
||||
|
[ExporterHeader(DisplayName = "虚拟小总成")] |
||||
|
public string MatchNumber { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 发货条码
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "发货条码")] |
||||
|
[ExporterHeader(DisplayName = "发货条码")] |
||||
|
public string DeliverCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 客户位置
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "客户位置")] |
||||
|
[ExporterHeader(DisplayName = "客户位置")] |
||||
|
public string Position { get; set; } |
||||
} |
} |
||||
|
Loading…
Reference in new issue