Files

498 lines
16 KiB
C#
Executable File

using System;
using System.Collections.Generic;
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model
{
/// <summary>
/// 扫描条码条码信息实体1
/// </summary>
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; }
}
/// <summary>
/// 扫描条码条码信息实体2
/// </summary>
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; }
}
/// <summary>
/// 扫描条码条码信息实体3
/// </summary>
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; }
}
/// <summary>
/// 条码拆分合并条码信息实体
/// </summary>
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; }
}
/// <summary>
/// 条码拆分输入参数实体
/// </summary>
public class SplitInputDto
{
/// <summary>
/// 是否自动拆分调用
/// </summary>
public bool IsAutoSplit { get; set; } = false;
/// <summary>
/// 是否拣货调用
/// </summary>
public bool IsPickInventory { get; set; } = false;
/// <summary>
/// 被拆分条码拆分后剩余数量
/// </summary>
public decimal RemainQty { get; set; }
/// <summary>
/// 被拆分条码
/// </summary>
public string Barcode { get; set; }
/// <summary>
/// 当前单位内码(处理源单单位与条码单位不一致)
/// </summary>
public string CurrentUnitId { get; set; } = "";
public string TranType { get; set; } = "";
/// <summary>
/// 拆分明细(除了第一条记录的条码是被拆分条码,其余的条码都为空只传数量)
/// </summary>
public List<SplitInputBarcodeInfo> SplitInfo { get; set; }
}
/// <summary>
/// 条码拆分输入参数中条码实体
/// </summary>
public class SplitInputBarcodeInfo
{
/// <summary>
/// 拆分条码
/// </summary>
public string Barcode { get; set; }
/// <summary>
/// 拆分数量
/// </summary>
public decimal Qty { get; set; }
/// <summary>
/// 辅助单位数量
/// </summary>
public decimal FSECUNITQTY { get; set; }
}
/// <summary>
/// 条码合并输入参数实体
/// </summary>
public class MergeInputDto
{
/// <summary>
/// 合并明细
/// </summary>
public List<MergeInputBarcodeInfo> MergeInfo { get; set; }
}
/// <summary>
/// 条码合并输入参数中条码实体
/// </summary>
public class MergeInputBarcodeInfo
{
/// <summary>
/// 要合并的条码
/// </summary>
public string Barcode { get; set; }
/// <summary>
/// 数量
/// </summary>
public decimal Qty { get; set; }
/// <summary>
/// 基本单位数量
/// </summary>
public decimal BaseQty { get; set; }
}
/// <summary>
/// 条码装箱输入参数实体
/// </summary>
public class InBoxInputDto
{
/// <summary>
/// 是否混装
/// </summary>
public bool? IsMix { get; set; }
/// <summary>
/// 装箱条码状态
/// </summary>
public int BoxCodeType { get; set; }
/// <summary>
/// 是否追加装箱
/// </summary>
public bool? IsAdd { get; set; }
/// <summary>
/// 箱码
/// </summary>
public string BoxCode { get; set; }
/// <summary>
/// 装箱明细
/// </summary>
public List<InBoxInputBarcodeInfo> InBoxInfo { get; set; }
}
/// <summary>
/// 盘点条码导入
/// </summary>
public class ImportStockTakingBarcodeDto
{
/// <summary>
/// 功能标识
/// </summary>
public string TranType { get; set; }
public string orgid { get; set; }
/// <summary>
/// 条码明细
/// </summary>
public List<ImportStockTakingBarcode> InBoxInfo { get; set; }
}
/// <summary>
/// 盘点条码导入功能
/// </summary>
public class ImportStockTakingBarcode
{
/// <summary>
/// 车号
/// </summary>
public int FNO { get; set; }
/// <summary>
/// 条码
/// </summary>
public string Barcode { get; set; }
/// <summary>
/// 数量
/// </summary>
public decimal Qty { get; set; }
}
/// <summary>
/// 外部条码导入
/// </summary>
public class ImportBarcodeDto
{
/// <summary>
/// 功能标识
/// </summary>
public string TranType { get; set; }
public string orgid { get; set; }
/// <summary>
/// 条码明细
/// </summary>
public List<ImportBarcode> InBoxInfo { get; set; }
}
/// <summary>
/// 外部条码导入功能
/// </summary>
public class ImportBarcode
{
/// <summary>
/// 收料通知单
/// </summary>
public string FBILLNO { get; set; }
/// <summary>
/// 收料通知单行号
/// </summary>
public int FENTRYID { get; set; }
/// <summary>
/// 条码
/// </summary>
public string Barcode { get; set; }
public string FNO { get; set; }
/// <summary>
/// 数量
/// </summary>
public decimal Qty { get; set; }
}
/// <summary>
/// 条码装箱输入参数中条码实体
/// </summary>
public class InBoxInputBarcodeInfo
{
/// <summary>
/// 被装箱条码
/// </summary>
public string Barcode { get; set; }
/// <summary>
/// 条码状态
/// </summary>
public int BarStatus { get; set; }
/// <summary>
/// 是否箱码
/// </summary>
public bool? IsBox { get; set; }
/// <summary>
/// 箱数
/// </summary>
public int CartonNumber { get; set; }
/// <summary>
/// 数量
/// </summary>
public decimal Qty { get; set; }
/// <summary>
/// 单位
/// </summary>
public string UnitId { get; set; }
/// <summary>
/// 基本单位数量
/// </summary>
public decimal BaseQty { get; set; }
/// <summary>
/// 基本单位
/// </summary>
public string BaseUnitId { get; set; }
/// <summary>
/// 混装条件(暂时用不到)
/// </summary>
public string MixBoxFactor { get; set; }
}
/// <summary>
/// 条码装箱条码信息实体
/// </summary>
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; }
}
/// <summary>
/// 条码拆箱输入参数实体
/// </summary>
public class OutBoxInputDto
{
/// <summary>
/// 箱码
/// </summary>
public string BoxCode { get; set; }
/// <summary>
/// null标志,暂时用不到
/// </summary>
public bool IsNull { get; set; }
/// <summary>
/// 组织ID,暂时用不到
/// </summary>
public string OrgId { get; set; }
/// <summary>
/// 拆箱明细
/// </summary>
public List<OutBoxInputBarcodeInfo> OutBoxInfo { get; set; }
}
/// <summary>
/// 条码拆箱输入参数中条码实体
/// </summary>
public class OutBoxInputBarcodeInfo
{
/// <summary>
/// 箱码内拆出的条码
/// </summary>
public string Barcode { get; set; }
/// <summary>
/// 条码拆装箱表体内码
/// </summary>
public string DetailId { get; set; }
/// <summary>
/// 数量
/// </summary>
public int Qty { get; set; }
/// <summary>
/// 单位
/// </summary>
public string UnitId { get; set; }
/// <summary>
/// 基本单位数量
/// </summary>
public int BaseQty { get; set; }
/// <summary>
/// 基本单位
/// </summary>
public string BaseUnitId { get; set; }
/// <summary>
/// 物料内码
/// </summary>
public string MaterialId { get; set; }
}
public class UpBarCodeInfoDto
{
public string TranType { get; set; } = "";
public DateTime? FDate { get; set; }
public List<UpBarCodeInfo> barcodeList { get; set; } = new List<UpBarCodeInfo>();
}
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; } = "";//库存状态
}
}