using SqlSugar; using System; using System.Collections.Generic; using System.Text; namespace wms.sqlsugar.model.fj { [Tenant("fj")] [SugarTable("bill_inventory", "库存表")] public class fjBillInventory : BaseModel { /// /// 单据号 /// [SugarColumn(ColumnName = "bill_code", ColumnDataType = "nvarchar", Length = 100)] public string BillCode { get; set; } /// /// 单据明细Id /// [SugarColumn(ColumnName = "bill_row_id")] public long BillRowId { get; set; } /// /// 当前库存数量 /// [SugarColumn(ColumnName = "cur_qty", Length = 18 ,DecimalDigits = 6)] public decimal CurQty { get; set; } /// /// 出入库数量 /// [SugarColumn(ColumnName = "qty", Length = 18, DecimalDigits = 6)] public decimal Qty { get; set; } /// /// 炉号 /// [SugarColumn(ColumnName = "boiler_no", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)] public string BoilerNo { get; set; } /// /// 包号 /// [SugarColumn(ColumnName = "pack_no", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)] public string PackNo { get; set; } /// /// 材料号 /// [SugarColumn(ColumnName = "mat_barcode", ColumnDataType = "nvarchar", Length = 50)] public string MatBarCode { get; set; } /// /// RFID /// [SugarColumn(ColumnName = "rfid", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)] public string RFID { get; set; } /// /// 状态 /// [SugarColumn(ColumnName = "state", ColumnDataType = "nvarchar", Length = 10, IsNullable = true)] public string State { get; set; } /// /// 物料编码 /// [SugarColumn(ColumnName = "mat_code", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)] public string MatCode { get; set; } /// /// 组盘明细Id /// [SugarColumn(ColumnName = "stock_row_id", IsNullable = true)] public long StockRowId { get; set; } /// /// 仓库编码 /// [SugarColumn(ColumnName = "ware_code", ColumnDataType = "nvarchar", Length = 50)] public string WareCode { get; set; } /// /// 快投标记 /// [SugarColumn(ColumnName = "is_fast", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)] public string IsFast { get; set; } /// /// 等级 /// [SugarColumn(ColumnName = "grade", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)] public string Grade { get; set; } /// /// 改手盘标记 /// [SugarColumn(ColumnName = "is_surplus", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)] public string IsSurplus { get; set; } /// /// 返工标记 /// [SugarColumn(ColumnName = "is_rework", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)] public string IsRework { get; set; } /// /// 箱号 /// [SugarColumn(ColumnName = "box_no", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)] public string BoxNo { get; set; } /// /// 预留字段1 /// [SugarColumn(ColumnName = "default1", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)] public string Default1 { get; set; } /// /// 预留字段2 /// [SugarColumn(ColumnName = "default2", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)] public string Default2 { get; set; } /// /// 预留字段3 /// [SugarColumn(ColumnName = "default3", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)] public string Default3 { get; set; } } }