|
|
@ -3,6 +3,7 @@ using System.Collections.Generic; |
|
|
|
using System.ComponentModel.DataAnnotations; |
|
|
|
using Magicodes.ExporterAndImporter.Core; |
|
|
|
using SequentialGuid; |
|
|
|
using Win.Sfs.SettleAccount.Entities.BQ.Syncs; |
|
|
|
|
|
|
|
namespace Win.Sfs.SettleAccount.Entities.BQ.Vmi |
|
|
|
{ |
|
|
@ -44,7 +45,8 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Vmi |
|
|
|
[ExporterHeader(DisplayName = "变动单号")] |
|
|
|
[Display(Name = "变动单号", Order = 1)] |
|
|
|
public string ChangedNumber { get; set; } |
|
|
|
[ExporterHeader(DisplayName = "变动时间")] |
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "变动时间", Format = "yyyy-MM-dd HH:mm:ss")] |
|
|
|
[Display(Name = "变动时间", Order = 2)] |
|
|
|
public DateTime ChangedTime { get; set; } |
|
|
|
[ExporterHeader(DisplayName = "变动类型")] |
|
|
@ -60,7 +62,103 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Vmi |
|
|
|
[Display(Name = "版本", Order = 5)] |
|
|
|
public int Version { get; set; } |
|
|
|
public string ConcurrencyStamp { get; set; } |
|
|
|
[ExporterHeader(DisplayName = "创建时间", Format = "yyyy-MM-dd HH:mm:ss")] |
|
|
|
[Display(Name = "创建时间", Order = 2)] |
|
|
|
public DateTime CreatedTime { get; set; } |
|
|
|
[ExporterHeader(DisplayName = "更新时间", Format = "yyyy-MM-dd HH:mm:ss")] |
|
|
|
[Display(Name = "更新时间", Order = 2)] |
|
|
|
public DateTime UpdatedTime { get; set; } = DateTime.Now; |
|
|
|
} |
|
|
|
|
|
|
|
public class VmiLogExportDto |
|
|
|
{ |
|
|
|
[ExporterHeader(DisplayName = "库存事务分类")] |
|
|
|
[Display(Name = "库存事务分类", Order = 0)] |
|
|
|
public VmiLogType LogType { get; set; } |
|
|
|
[ExporterHeader(DisplayName = "变动单号")] |
|
|
|
[Display(Name = "变动单号", Order = 1)] |
|
|
|
public string ChangedNumber { get; set; } |
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "变动时间", Format = "yyyy-MM-dd HH:mm:ss")] |
|
|
|
[Display(Name = "变动时间", Order = 2)] |
|
|
|
public DateTime ChangedTime { get; set; } |
|
|
|
[ExporterHeader(DisplayName = "变动类型")] |
|
|
|
[Display(Name = "变动类型", Order = 3)] |
|
|
|
public VmiType ChangedType { get; set; } |
|
|
|
[ExporterHeader(DisplayName = "变动人")] |
|
|
|
[Display(Name = "变动人", Order = 4)] |
|
|
|
public string ChangedBy { get; set; } |
|
|
|
[ExporterHeader(DisplayName = "库存变动")] |
|
|
|
[Display(Name = "库存变动", Order = 5)] |
|
|
|
public decimal ChangedQty { get; set; } |
|
|
|
[ExporterHeader(DisplayName = "版本")] |
|
|
|
[Display(Name = "版本", Order = 5)] |
|
|
|
public int Version { get; set; } |
|
|
|
[Display(Name = "厂内零件号", Order = 6)] |
|
|
|
public string RealPartCode { get; set; }//原始
|
|
|
|
|
|
|
|
[Display(Name = "客户零件号", Order = 7)] |
|
|
|
public string CustPartCode { get; set; } |
|
|
|
|
|
|
|
[Display(Name = "生产码类型", Order = 8)] |
|
|
|
public string CodeType { get; set; } |
|
|
|
|
|
|
|
[Display(Name = "发货类型", Order = 9)] |
|
|
|
public EnumDeliverBjBmpBillType? DeliverBillType { get; set; } |
|
|
|
|
|
|
|
[Display(Name = "数量", Order = 10)] |
|
|
|
public decimal Qty { get; set; } |
|
|
|
[ExporterHeader(DisplayName = "发运日期", Format = "yyyy-MM-dd HH:mm:ss")] |
|
|
|
[Display(Name = "发运日期", Order = 11)] |
|
|
|
public DateTime? BillTime { get; set; } |
|
|
|
|
|
|
|
[Display(Name = "订单日期", Order = 12)] |
|
|
|
public DateTime? AssembleData { get; set; } |
|
|
|
|
|
|
|
[Display(Name = "ERP库位", Order = 13)] |
|
|
|
public string ErpToLoc { get; set; } |
|
|
|
|
|
|
|
[Display(Name = "EDI顺序号", Order = 14)] |
|
|
|
public string Seq { get; set; } |
|
|
|
|
|
|
|
[Display(Name = "客户订单号", Order = 15)] |
|
|
|
public string OrderNum { get; set; } |
|
|
|
|
|
|
|
[Display(Name = "塑件唯一码", Order = 16)] |
|
|
|
public string UniqueCode { get; set; } |
|
|
|
|
|
|
|
[Display(Name = "EDI总成号", Order = 17)] |
|
|
|
public string MatchNumber { get; set; } |
|
|
|
|
|
|
|
[Display(Name = "PJIS生产顺序号", Order = 18)] |
|
|
|
public string PjsNum { get; set; } |
|
|
|
|
|
|
|
[Display(Name = "实际生产码", Order = 19)] |
|
|
|
public string RealCode { get; set; } |
|
|
|
|
|
|
|
[Display(Name = "配置码", Order = 20)] |
|
|
|
public string Configcode { get; set; } |
|
|
|
|
|
|
|
[Display(Name = "工厂", Order = 21)] |
|
|
|
public string factory { get; set; } |
|
|
|
|
|
|
|
[Display(Name = "发货子类型", Order = 22)] |
|
|
|
public EnumDeliverSubBillType? DeliverSubBillType { get; set; } |
|
|
|
|
|
|
|
[Display(Name = "EDI订单生产码", Order = 23)] |
|
|
|
public string VinCode { get; set; } |
|
|
|
|
|
|
|
[Display(Name = "结算生产码", Order = 24)] |
|
|
|
public string SettlementVinCode { get; set; } |
|
|
|
|
|
|
|
[Display(Name = "结算厂内生产码", Order = 25)] |
|
|
|
public string SettlementPartCode { get; set; } |
|
|
|
|
|
|
|
[Display(Name = "是否补货", Order = 26)] |
|
|
|
public bool? IsReplenished { get; set; } |
|
|
|
|
|
|
|
[Display(Name = "备注", Order = 27)] |
|
|
|
public string ReMark { get; set; } |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|