using SqlSugar; using System; namespace wms.sqlsugar.model.fj { /// /// 码垛工字轮信息 /// [Tenant("fj")] [SugarTable("Bill_SpoolTrans")] public class BillSpoolTrans : BaseModel { /// /// 工字轮条码 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50)] public string ConBarCode { get; set; } /// /// 分拣库仓库编码 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)] public string WarehouseCode { get; set; } /// /// 分拣库序号 /// [SugarColumn(ColumnDataType = "int", IsNullable = true)] public int WarehouseSort { get; set; } /// /// 南北向 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)] public string Direct { get; set; } /// /// 输送线号 /// [SugarColumn(ColumnDataType = "int", IsNullable = true)] public int ConveyorSort { get; set; } /// /// 位置序号 /// [SugarColumn(ColumnDataType = "int", IsNullable = true)] public int LocSort { get; set; } /// /// 湿拉物料编码 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)] public string MatCode { get; set; } /// /// 异常盘类型 /// [SugarColumn(ColumnDataType = "int", IsNullable = true)] public int ErrType { get; set; } /// /// 异常盘信息 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)] public string ErrMsg { get; set; } /// /// 湿拉工序订单号 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)] public string BillCode { get; set; } /// /// 生产订单号 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)] public string WorkOrder { get; set; } } /// /// 异常信息 /// [Tenant("fj")] [SugarTable("Base_ErrorInfo")] public class BaseErrorInfo { /// /// ID /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "ID")] public int ID { get; set; } /// /// 业务名称 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = false)] public string BusName { get; set; } /// /// 异常描述信息 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 250, IsNullable = true)] public string Message { get; set; } /// /// 次数 /// [SugarColumn(ColumnDataType = "int", IsNullable = true)] public int Count { get; set; } /// /// memo /// [SugarColumn(ColumnDataType = "nvarchar", Length = 250, IsNullable = true)] public string Memo { get; set; } /// /// AddTime /// [SugarColumn(ColumnDataType = "datetime", IsNullable = false)] public DateTime AddTime { get; set; } = DateTime.Now; } }