using SqlSugar; using System; using System.Collections.Generic; using System.Text; namespace wms.sqlsugar.model.cp { [Tenant("cp")] [SugarTable("bill_docment", "单据表")] public class cpBillDocument : BaseModel { /// /// 行停用,false 启动,true 停用 /// [SugarColumn(ColumnName = "is_stop")] public bool IsStop { get; set; } = false; /// /// 仓库编码 /// [SugarColumn(ColumnName = "warehouse_id")] public long WarehouseId { get; set; } /// /// 请求凭证号 /// [SugarColumn(ColumnName = "req_no", ColumnDataType = "nvarchar", Length = 50)] public string ReqNo { get; set; } /// /// 单号 /// [SugarColumn(ColumnName = "doc_no", ColumnDataType = "nvarchar", Length = 50)] public string DocNo { get; set; } /// /// 单据类型 /// [SugarColumn(ColumnName = "type_code", ColumnDataType = "nvarchar", Length = 100)] public string TypeCode { get; set; } /// /// 单据状态 /// [SugarColumn(ColumnName = "state_code", ColumnDataType = "nvarchar", Length = 50)] public string StateCode { get; set; } /// /// 单据内容Json数据 /// [SugarColumn(ColumnName = "content_json", ColumnDataType = "nvarchar", Length = 8000, IsNullable = true)] public string ContentJson { get; set; } /// /// 传递次数 /// [SugarColumn(ColumnName = "down_qty")] public int DownQty { get; set; } /// /// 下载失败原因 /// [SugarColumn(ColumnName = "down_err_reason", ColumnDataType = "nvarchar", Length = 500, IsNullable = true)] public string DownErrReason { get; set; } } }