using System; using System.Collections.Generic; using SqlSugar; using WMS.BZModels; namespace wms.sqlsugar.model.hj { [Tenant("hj")] [SugarTable("Bill_InvNow")] public class BillInvnow : BaseModel { /// /// 仓库id /// [SugarColumn(ColumnDataType = "bigint", IsNullable = false, ColumnDescription = "仓库id")] public long WarehouseId { get; set; } /// /// 组盘组id /// [SugarColumn(ColumnDataType = "bigint", IsNullable = false, ColumnDescription = "组盘组id")] public long ContGrpId { get; set; } /// /// 载具编号 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "载具编号")] public string ContGrpBarCode { get; set; } /// /// 库存类型(1物料盘2空盘) /// [SugarColumn(ColumnDataType = "int", IsNullable = false, ColumnDescription = "库存类型(1物料盘2空盘)")] public int ContGrpType { get; set; } /// /// 箱条码 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "箱条码")] public string BoxBarCode { get; set; } /// /// bom单号 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "bom单号")] public string BomDocsNo { get; set; } /// /// bom物料id /// [SugarColumn(ColumnDataType = "bigint", IsNullable = false, ColumnDescription = "bom物料id")] public long BomMatId { get; set; } /// /// bom物料编码 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "bom物料编码")] public string BomMatCode { get; set; } /// /// bom物料名称 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 100, IsNullable = true, ColumnDescription = "bom物料名称")] public string BomMatName { get; set; } /// /// 垛型id /// [SugarColumn(ColumnDataType = "bigint", IsNullable = false, ColumnDescription = "垛型id")] public long BomSetId { get; set; } /// /// 库存执行状态 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "库存执行状态")] public string ExecStateCode { get; set; } /// /// 库存状态 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "库存状态")] public string InvStateCode { get; set; } /// /// 执行单号 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "执行单号")] public string ExecDocsNo { get; set; } /// /// 执行单行号 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "执行单行号")] public string ExecDocsRowNo { get; set; } /// /// 执行单类型 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "执行单类型")] public string ExecDocsTypeCode { get; set; } /// /// 出入类型 /// [SugarColumn(ColumnDataType = "int", IsNullable = false, ColumnDescription = "出入类型")] public int InvInOut { get; set; } /// /// 执行人 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "执行人")] public string ExecWho { get; set; } /// /// 执行时间 /// [SugarColumn(ColumnDataType = "datetime", IsNullable = false, ColumnDescription = "执行时间")] public DateTime ExecTime { get; set; } /// /// 行 /// [SugarColumn(ColumnDataType = "int", IsNullable = false, ColumnDescription = "行")] public int PutRow { get; set; } /// /// 列 /// [SugarColumn(ColumnDataType = "int", IsNullable = false, ColumnDescription = "列")] public int PutCol { get; set; } /// /// 层 /// [SugarColumn(ColumnDataType = "int", IsNullable = false, ColumnDescription = "层")] public int PutLayer { get; set; } /// /// 库存编码 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "库存编码")] public string InvBarCode { get; set; } /// /// 入库单号 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "入库单号")] public string InDocsNo { get; set; } /// /// 入库单行号 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "入库单行号")] public string InDocsRowNo { get; set; } /// /// 供应商编码 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "供应商编码")] public string SuppCode { get; set; } /// /// 供应商名称 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "供应商名称")] public string SuppName { get; set; } /// /// 客户 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "客户")] public string CustCode { get; set; } /// /// 客户名称 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "客户名称")] public string CustName { get; set; } /// /// 物料id /// [SugarColumn(ColumnDataType = "bigint", IsNullable = false, ColumnDescription = "物料id")] public long MatId { get; set; } /// /// 物料编码 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "物料编码")] public string MatCode { get; set; } /// /// 物料名称 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 100, IsNullable = true, ColumnDescription = "物料名称")] public string MatName { get; set; } /// /// 总重量 /// [SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = false, ColumnDescription = "总重量")] public decimal TolWQty { get; set; } /// /// 净重 /// [SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = false, ColumnDescription = "净重")] public decimal NetWQty { get; set; } /// /// 皮重 /// [SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = false, ColumnDescription = "皮重")] public decimal TareWQty { get; set; } /// /// 长度 /// [SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = false, ColumnDescription = "长度")] public decimal LengthQty { get; set; } /// /// 碳当量 /// [SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = false, ColumnDescription = "碳当量")] public decimal CaQty { get; set; } /// /// 焊点数量 /// [SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = false, ColumnDescription = "焊点数量")] public decimal SolderQty { get; set; } /// /// ContUsageQty /// [SugarColumn(ColumnDataType = "int", IsNullable = false)] public int ContUsageQty { get; set; } /// /// 批号 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "批号")] public string BatchNo { get; set; } /// /// 生产时间 /// [SugarColumn(ColumnDataType = "datetime", IsNullable = false, ColumnDescription = "生产时间")] public DateTime ProductTime { get; set; } /// /// 首次入库时间 /// [SugarColumn(ColumnDataType = "datetime", IsNullable = false, ColumnDescription = "首次入库时间")] public DateTime OneInTime { get; set; } /// /// 盘条条码 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "盘条条码")] public string RodBarCode { get; set; } /// /// 工字轮条码 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "工字轮条码")] public string HWBarCode { get; set; } /// /// RFID编号 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "RFID编号")] public string RFIDBarCode { get; set; } /// /// CLBarCode /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)] public string CLBarCode { get; set; } /// /// 工字轮类型 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "工字轮类型")] public string HWTypeCode { get; set; } /// /// 炉号 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "炉号")] public string BoilerNo { get; set; } /// /// 包号 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "包号")] public string PackNo { get; set; } /// /// 牌号 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "牌号")] public string BrandNo { get; set; } /// /// 执行标准 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "执行标准")] public string ExecStd { get; set; } /// /// 许可证号 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "许可证号")] public string LicenceCode { get; set; } /// /// 改手盘标记 /// [SugarColumn(ColumnDataType = "bit", IsNullable = false, ColumnDescription = "改手盘标记")] public bool IsSurplus { get; set; } /// /// 返工标记 /// [SugarColumn(ColumnDataType = "bit", IsNullable = false, ColumnDescription = "返工标记")] public bool IsRework { get; set; } /// /// 是否黑盘 /// [SugarColumn(ColumnDataType = "bit", IsNullable = false, ColumnDescription = "是否黑盘")] public bool IsBlack { get; set; } /// /// 是否芯股 /// [SugarColumn(ColumnDataType = "bit", IsNullable = false, ColumnDescription = "是否芯股")] public bool IsCore { get; set; } /// /// 快投标记 /// [SugarColumn(ColumnDataType = "bit", IsNullable = false, ColumnDescription = "快投标记")] public bool IsFast { get; set; } /// /// 是否异常 /// [SugarColumn(ColumnDataType = "bit", IsNullable = false, ColumnDescription = "是否异常")] public bool IsFail { get; set; } /// /// 异常原因 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 200, IsNullable = true, ColumnDescription = "异常原因")] public string FailReason { get; set; } /// /// 钢丝类型编码 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "钢丝类型编码")] public string SilkTypeCode { get; set; } /// /// 等级 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "等级")] public string Grade { get; set; } /// /// 是否退料 /// [SugarColumn(ColumnDataType = "bit", IsNullable = false, ColumnDescription = "是否退料")] public bool IsBack { get; set; } /// /// 退料原因 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 200, IsNullable = true, ColumnDescription = "退料原因")] public string BackReason { get; set; } /// /// 是否扭转检测 /// [SugarColumn(ColumnDataType = "bit", IsNullable = false, ColumnDescription = "是否扭转检测")] public bool IsTorsChk { get; set; } /// /// 扭转次数 /// [SugarColumn(ColumnDataType = "int", IsNullable = false, ColumnDescription = "扭转次数")] public int TorsChkQty { get; set; } /// /// 扭转检测时间 /// [SugarColumn(ColumnDataType = "datetime", IsNullable = false, ColumnDescription = "扭转检测时间")] public DateTime TorsChkTime { get; set; } /// /// 扭转检测结果值 /// [SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = true, ColumnDescription = "扭转检测结果值")] public decimal? TorsChkValue { get; set; } /// /// 扭转检测设备号 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "扭转检测设备号")] public string TorsChkMachCode { get; set; } /// /// 工序订单号 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "工序订单号")] public string ProcessDocsCode { get; set; } /// /// 生产机台号 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "生产机台号")] public string ProductMachCode { get; set; } /// /// ProductLineNo /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "ProductLineNo")] public string ProductLineNo { get; set; } /// /// 时效时长 /// [SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = false, ColumnDescription = "净重")] public decimal HoldDuration { get; set; } /// /// Remark /// [SugarColumn(ColumnDataType = "nvarchar", Length = 500, IsNullable = true)] public string Remark { get; set; } /// /// Default1 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 100, IsNullable = true)] public string Default1 { get; set; } /// /// Default2 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 100, IsNullable = true)] public string Default2 { get; set; } /// /// Default3 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 100, IsNullable = true)] public string Default3 { get; set; } /// /// AddWho /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = false)] public string AddWho { get; set; } /// /// AddTime /// [SugarColumn(ColumnDataType = "datetime", IsNullable = false)] public DateTime AddTime { get; set; } /// /// EditWho /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = false)] public string EditWho { get; set; } /// /// EditTime /// [SugarColumn(ColumnDataType = "datetime", IsNullable = false)] public DateTime EditTime { get; set; } /// /// 尺寸 /// [SugarColumn(ColumnDataType = "int", IsNullable = false, ColumnDescription = "尺寸")] public int Size { get; set; } /// /// Memo /// [SugarColumn(ColumnDataType = "nvarchar", Length = 500, IsNullable = true)] public string Memo { get; set; } } }