using System; using System.Collections.Generic; namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model { /// /// 扫描条码条码信息实体1 /// public class BarcodeInfoDto1 { public object this[string prop] => this.GetType().GetProperty(prop).GetValue(this); public string FBARCODE { get; set; } public int? FBARTYPE { get; set; } public int? FBARCODESTATUS { get; set; } public bool? FISBOX { get; set; } public int FBOXCODETYPE { get; set; } public bool? FISMIX { get; set; } public bool? FINBOX { get; set; } public string FLOT { get; set; } public string FMATERIALID { get; set; } public string FMATERIALNUMBER { get; set; } public string FMATERIALNAME { get; set; } public string FSPECIFICATION { get; set; } public decimal? FQTY { get; set; } public string FUNITID { get; set; } public string FUNITNAME { get; set; } public decimal? FBASEQTY { get; set; } public string FBASEUNITID { get; set; } public string FBASEUNITNAME { get; set; } public bool? FDELETED { get; set; } public string FCOMPANYID { get; set; } public string FDETAILID { get; set; } public string FAUXPROPID { get; set; } public DateTime? FKFDATE { get; set; } public string FSTOCKSTATUSID { get; set; } public DateTime? FUSEFULDATE { get; set; } public string FSTOCKID { get; set; } public string FSTOCKLOCID { get; set; } } /// /// 扫描条码条码信息实体2 /// public class BarcodeInfoDto2 { public string FBARCODE { get; set; } public int? FBARTYPE { get; set; } public bool? FISBOX { get; set; } public bool? FINBOX { get; set; } public decimal? FQTY { get; set; } public bool? FDELETED { get; set; } } /// /// 扫描条码条码信息实体3 /// public class BarcodeInfoDto3 { public object this[string prop] => this.GetType().GetProperty(prop).GetValue(this); public string FBARCODE { get; set; } public int? FBARTYPE { get; set; } public int? FBARCODESTATUS { get; set; } public bool? FISBOX { get; set; } public bool? FISMIX { get; set; } public bool? FINBOX { get; set; } public string FLOT { get; set; } public string FMATERIALID { get; set; } public string FMATERIALNUMBER { get; set; } public string FMATERIALNAME { get; set; } public string FSPECIFICATION { get; set; } public decimal? FQTY { get; set; } public string FUNITID { get; set; } public string FUNITNAME { get; set; } public decimal? FBASEQTY { get; set; } public string FBASEUNITID { get; set; } public string FBASEUNITNAME { get; set; } public bool? FDELETED { get; set; } public string FCOMPANYID { get; set; } public string FDETAILID { get; set; } public string MIXBOXFACTOR { get; set; } } public class BarcodeInfoDto4 { public object this[string prop] => this.GetType().GetProperty(prop).GetValue(this); public string FBARCODE { get; set; } public int? FBARTYPE { get; set; } public int? FBARCODESTATUS { get; set; } public int FBOXCODETYPE { get; set; } public string FMATERIALID { get; set; } public string FMATERIALNUMBER { get; set; } public string FMATERIALNAME { get; set; } public string FSPECIFICATION { get; set; } public string FMODELNO { get; set; } public decimal? FQTY { get; set; } public decimal? FBASEQTY { get; set; } public string FCOMPANYID { get; set; } public string FSTOCKSTATUSID { get; set; } public string FSTOCKID { get; set; } public string FSTOCKLOCID { get; set; } } public class BarcodeInfoDto5 { public object this[string prop] => this.GetType().GetProperty(prop).GetValue(this); public string FBARCODE { get; set; } public string FMODELNO { get; set; } public string FSN { get; set; } public string FMOBILLNO { get; set; } } /// /// 条码拆分合并条码信息实体 /// public class SpMeBarcodeInfoDto { public string FINTERID { get; set; } public decimal FTOTALQTY { get; set; } public DateTime? FMFGDATE { get; set; } public string FOBARCODE { get; set; } public string FMATERIALID { get; set; } public int FBARCODESTATUS { get; set; } public string FBARCODE { get; set; } public bool FISBOX { get; set; } public bool FISMIX { get; set; } public string FLOTID { get; set; } public string FLOT { get; set; } public int FSTOCKSTATUS { get; set; } public DateTime? FINSPECTDATE { get; set; } public string FINSPECTID { get; set; } public string FSUPPLYID { get; set; } public string FAUXPROPID { get; set; } public DateTime? FDATE { get; set; } public int FKID { get; set; } public decimal FQTY { get; set; } public string FUNITID { get; set; } public string FSTOCKID { get; set; } public string FSTOCKLOCID { get; set; } public string FCURRID { get; set; } public bool FINBOX { get; set; } public DateTime? FKFDATE { get; set; } public int FKFPERIOD { get; set; } public int FSTATUS { get; set; } public bool FDELETED { get; set; } public int FBARTYPE { get; set; } public decimal FBASEQTY { get; set; } public string FBASEUNITID { get; set; } public string FKFUNIT { get; set; } public string FCOMPANYID { get; set; } public decimal FSECUNITQTY { get; set; } public string FSECUNITID { get; set; } public string FKEEPERTYPEID { get; set; } public string FKEEPERID { get; set; } public string FOWNERTYPEID { get; set; } public string FOWNERID { get; set; } public string FSTOCKSTATUSID { get; set; } public DateTime? FUSEFULDATE { get; set; } } /// /// 条码拆分输入参数实体 /// public class SplitInputDto { /// /// 是否自动拆分调用 /// public bool IsAutoSplit { get; set; } = false; /// /// 是否拣货调用 /// public bool IsPickInventory { get; set; } = false; /// /// 被拆分条码拆分后剩余数量 /// public decimal RemainQty { get; set; } /// /// 被拆分条码 /// public string Barcode { get; set; } /// /// 当前单位内码(处理源单单位与条码单位不一致) /// public string CurrentUnitId { get; set; } = ""; public string TranType { get; set; } = ""; /// /// 拆分明细(除了第一条记录的条码是被拆分条码,其余的条码都为空只传数量) /// public List SplitInfo { get; set; } } /// /// 条码拆分输入参数中条码实体 /// public class SplitInputBarcodeInfo { /// /// 拆分条码 /// public string Barcode { get; set; } /// /// 拆分数量 /// public decimal Qty { get; set; } /// /// 辅助单位数量 /// public decimal FSECUNITQTY { get; set; } } /// /// 条码合并输入参数实体 /// public class MergeInputDto { /// /// 合并明细 /// public List MergeInfo { get; set; } } /// /// 条码合并输入参数中条码实体 /// public class MergeInputBarcodeInfo { /// /// 要合并的条码 /// public string Barcode { get; set; } /// /// 数量 /// public decimal Qty { get; set; } /// /// 基本单位数量 /// public decimal BaseQty { get; set; } } /// /// 条码装箱输入参数实体 /// public class InBoxInputDto { /// /// 是否混装 /// public bool? IsMix { get; set; } /// /// 装箱条码状态 /// public int BoxCodeType { get; set; } /// /// 是否追加装箱 /// public bool? IsAdd { get; set; } /// /// 箱码 /// public string BoxCode { get; set; } /// /// 装箱明细 /// public List InBoxInfo { get; set; } } /// /// 盘点条码导入 /// public class ImportStockTakingBarcodeDto { /// /// 功能标识 /// public string TranType { get; set; } public string orgid { get; set; } /// /// 条码明细 /// public List InBoxInfo { get; set; } } /// /// 盘点条码导入功能 /// public class ImportStockTakingBarcode { /// /// 车号 /// public int FNO { get; set; } /// /// 条码 /// public string Barcode { get; set; } /// /// 数量 /// public decimal Qty { get; set; } } /// /// 外部条码导入 /// public class ImportBarcodeDto { /// /// 功能标识 /// public string TranType { get; set; } public string orgid { get; set; } /// /// 条码明细 /// public List InBoxInfo { get; set; } } /// /// 外部条码导入功能 /// public class ImportBarcode { /// /// 收料通知单 /// public string FBILLNO { get; set; } /// /// 收料通知单行号 /// public int FENTRYID { get; set; } /// /// 条码 /// public string Barcode { get; set; } public string FNO { get; set; } /// /// 数量 /// public decimal Qty { get; set; } } /// /// 条码装箱输入参数中条码实体 /// public class InBoxInputBarcodeInfo { /// /// 被装箱条码 /// public string Barcode { get; set; } /// /// 条码状态 /// public int BarStatus { get; set; } /// /// 是否箱码 /// public bool? IsBox { get; set; } /// /// 箱数 /// public int CartonNumber { get; set; } /// /// 数量 /// public decimal Qty { get; set; } /// /// 单位 /// public string UnitId { get; set; } /// /// 基本单位数量 /// public decimal BaseQty { get; set; } /// /// 基本单位 /// public string BaseUnitId { get; set; } /// /// 混装条件(暂时用不到) /// public string MixBoxFactor { get; set; } } /// /// 条码装箱条码信息实体 /// public class InBoxBarcodeInfoDto { public string FBARCODE { get; set; } public string FMATERIALID { get; set; } public bool FISBOX { get; set; } public bool FINBOX { get; set; } public int FBARTYPE { get; set; } public int FBARCODESTATUS { get; set; } public bool FDELETED { get; set; } public string FKEEPERTYPEID { get; set; } public string FKEEPERID { get; set; } public string FOWNERTYPEID { get; set; } public string FOWNERID { get; set; } public string FSTOCKID { get; set; } public string FSTOCKLOCID { get; set; } } /// /// 条码拆箱输入参数实体 /// public class OutBoxInputDto { /// /// 箱码 /// public string BoxCode { get; set; } /// /// null标志,暂时用不到 /// public bool IsNull { get; set; } /// /// 组织ID,暂时用不到 /// public string OrgId { get; set; } /// /// 拆箱明细 /// public List OutBoxInfo { get; set; } } /// /// 条码拆箱输入参数中条码实体 /// public class OutBoxInputBarcodeInfo { /// /// 箱码内拆出的条码 /// public string Barcode { get; set; } /// /// 条码拆装箱表体内码 /// public string DetailId { get; set; } /// /// 数量 /// public int Qty { get; set; } /// /// 单位 /// public string UnitId { get; set; } /// /// 基本单位数量 /// public int BaseQty { get; set; } /// /// 基本单位 /// public string BaseUnitId { get; set; } /// /// 物料内码 /// public string MaterialId { get; set; } } public class UpBarCodeInfoDto { public string TranType { get; set; } = ""; public DateTime? FDate { get; set; } public List barcodeList { get; set; } = new List(); } public class UpBarCodeInfo { public string FBARCODE { get; set; } = ""; public string FSTOCKID { get; set; } = ""; public string FSTOCKLOCID { get; set; } = ""; public int FSTOCKSTATUS { get; set; } public string FCOMPANYID { get; set; } = ""; public string FKEEPERTYPEID { get; set; } = ""; public string FKEEPERID { get; set; } = ""; public string FOWNERTYPEID { get; set; } = ""; public string FOWNERID { get; set; } = ""; public string FSTOCKSTATUSID { get; set; } = "";//库存状态 } }