using SqlSugar; using System; using System.Collections.Generic; using System.Text; namespace wms.sqlsugar.model.hj { [Tenant("hj")] [SugarTable("bill_barcode", "条码信息表")] public class hjBillBarcode : BaseModel { /// /// 材料号,空容器为容器号 /// [SugarColumn(ColumnName = "inv_barcode", ColumnDataType = "nvarchar", Length = 50)] public string InvBarCode { get; set; } /// /// 库存状态(正常/锁定:Normal/Lock) /// [SugarColumn(ColumnName = "inv_state", ColumnDataType = "nvarchar", Length = 50)] public string InvState { get; set; } /// /// 入库单据号 /// [SugarColumn(ColumnName = "in_docs_no", ColumnDataType = "nvarchar", Length = 100,IsNullable = true)] public string InDocsNo { get; set; } /// /// 入库单据行号 /// [SugarColumn(ColumnName = "in_docs_row_no", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)] public string InDocsRowNo { get; set; } /// /// 供应商编码 /// [SugarColumn(ColumnName = "supp_code", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)] public string SuppCode { get; set; } /// /// 供应商名称 /// [SugarColumn(ColumnName = "supp_name", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)] public string SuppName { get; set; } /// /// 物料编码 /// [SugarColumn(ColumnName = "mat_code", ColumnDataType = "nvarchar", Length = 50)] public string MatCode { get; set; } /// /// 物料id /// [SugarColumn(ColumnName = "mat_id")] public long MatId { get; set; } /// /// 仓库编码 /// [SugarColumn(ColumnName = "warehouse_code", ColumnDataType = "nvarchar", Length = 50)] public string WarehouseCode { get; set; } /// /// 仓库id /// [SugarColumn(ColumnName = "warehouse_id")] public long WarehouseId { get; set; } /// /// 总重量 /// [SugarColumn(ColumnName = "total_wt_qty", Length = 18, DecimalDigits = 6)] public decimal TotalWtQty { get; set; } /// /// 净重(重量,盘条:包重,其他:钢丝净重) /// [SugarColumn(ColumnName = "net_wt_qty", Length = 18, DecimalDigits = 6)] public decimal NetWQty { get; set; } /// /// 皮重(空工字轮重量) /// [SugarColumn(ColumnName = "tare_wt_qty", Length = 18, DecimalDigits = 6)] public decimal TareWQty { get; set; } /// /// 长度 /// [SugarColumn(ColumnName = "length_qty", Length = 18, DecimalDigits = 6)] public decimal LengthQty { get; set; } /// /// 生产批号 /// [SugarColumn(ColumnName = "batch", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)] public string Batch { get; set; } /// /// 生产时间('20230214;默认值19000101) /// [SugarColumn(ColumnName = "product_time")] public DateTime ProductTime { get; set; } /// /// 第一次入库时间('20230214;默认值19000101) /// [SugarColumn(ColumnName = "one_in_time")] public DateTime OneInTime { get; set; } /// /// 碳当量 /// [SugarColumn(ColumnName = "ca_qty", Length = 18, DecimalDigits = 6)] public decimal CaQty { get; set; } /// /// 盘条条码 /// [SugarColumn(ColumnName = "rod_barcode", ColumnDataType = "nvarchar", Length = 100,IsNullable = true)] public string RodBarCode { get; set; } /// /// 工字轮条码 /// [SugarColumn(ColumnName = "hw_barcode", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)] public string HWBarCode { get; set; } /// /// RFID条码 /// [SugarColumn(ColumnName = "rfid_barcode", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)] public string RFIDBarCode { get; set; } /// /// 工字轮规格(WS09,WS18,等, 500,800) /// [SugarColumn(ColumnName = "hw_spec", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)] public string HWSpec { get; set; } /// /// 炉号 /// [SugarColumn(ColumnName = "boiler_no", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)] public string BoilerNo { get; set; } /// /// 包号 /// [SugarColumn(ColumnName = "pack_no", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)] public string PackNo { get; set; } /// /// 牌号 /// [SugarColumn(ColumnName = "brand_no", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)] public string BrandNo { get; set; } /// /// 执行标准 /// [SugarColumn(ColumnName = "exec_sd", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)] public string ExecStd { get; set; } /// /// 许可证号 /// [SugarColumn(ColumnName = "licence_no", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)] public string LicenceNo { get; set; } /// /// 改手盘标记 /// [SugarColumn(ColumnName = "is_surplus", IsNullable = true)] public bool IsSurplus { get; set; } /// /// 返工标记 /// [SugarColumn(ColumnName = "is_rework", IsNullable = true)] public bool IsRework { get; set; } /// /// 单/双丝 /// [SugarColumn(ColumnName = "silk_type", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)] public string SilkType { get; set; } /// /// 是否黑盘 /// [SugarColumn(ColumnName = "is_black")] public bool IsBlack { get; set; } /// /// 是否芯股 /// [SugarColumn(ColumnName = "is_core")] public bool IsCore { get; set; } /// /// 快投标记 /// [SugarColumn(ColumnName = "is_fast", IsNullable = true)] public bool IsFast { get; set; } /// /// 是否异常 /// [SugarColumn(ColumnName = "is_fail", IsNullable = true)] public bool IsFail { get; set; } /// /// 异常原因 /// [SugarColumn(ColumnName = "fail_reason", ColumnDataType = "nvarchar", Length = 200, IsNullable = true)] public string FailReason { get; set; } /// /// 焊点数量 /// [SugarColumn(ColumnName = "solder_qty")] public int SolderQty { get; set; } /// /// 等级 /// [SugarColumn(ColumnName = "grade", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)] public string Grade { get; set; } /// /// 退料原因 /// [SugarColumn(ColumnName = "reason", ColumnDataType = "nvarchar", Length = 500, IsNullable = true)] public string Reason { get; set; } /// /// 是否退料 /// [SugarColumn(ColumnName = "is_back")] public bool IsBack { get; set; } /// /// 是否 扭转检测 /// [SugarColumn(ColumnName = "is_tors_chk")] public bool IsTorsChk { get; set; } /// /// 扭转次数 /// [SugarColumn(ColumnName = "tors_chk_qty")] public int TorsChkQty { get; set; } /// /// 扭转检测时间 /// [SugarColumn(ColumnName = "tors_chk_time")] public DateTime TorsChkTime { get; set; } /// /// 扭转检测结果值 /// [SugarColumn(ColumnName = "tors_chk_value", Length = 18, DecimalDigits = 6)] public decimal TorsChkValue { get; set; } /// /// 扭转检测设备号 /// [SugarColumn(ColumnName = "tors_chk_no", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)] public string TorsChkMacNo { get; set; } /// /// 工序订单号 /// [SugarColumn(ColumnName = "process_docs_no", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)] public string ProcessDocsNo { get; set; } /// /// 生产机台号 /// [SugarColumn(ColumnName = "product_wb_no", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)] public string ProductWbNo { get; set; } /// /// 生产产线号 /// [SugarColumn(ColumnName = "product_line_no", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)] public string ProductLineNo { get; set; } ///// ///// 任务号 ///// //[SugarColumn(ColumnName = "task_code", IsNullable = true)] //public int TaskCode { get; set; } ///// ///// 目标地址 ///// //[SugarColumn(ColumnName = "end_pos", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)] //public string EndPos { get; set; } } }