| using SqlSugar; | 
| using System; | 
| using System.Collections.Generic; | 
| using System.Linq; | 
| using System.Text; | 
| using System.Threading.Tasks; | 
| using WIDESEAWCS_Core.DB.Models; | 
|   | 
| namespace WIDESEAWCS_Model.Models | 
| { | 
|     /// <summary> | 
|     /// 仓库信息 | 
|     /// </summary> | 
|     [SugarTable(nameof(Dt_Warehouse), "仓库信息")] | 
|     public class Dt_Warehouse : BaseEntity | 
|     { | 
|         /// <summary> | 
|         /// 主键 | 
|         /// </summary> | 
|         [SugarColumn(IsPrimaryKey = true, ColumnDescription = "主键")] | 
|         public int WarehouseId { get; set; } | 
|   | 
|         /// <summary> | 
|         /// 仓库编号 | 
|         /// </summary> | 
|         [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "仓库编号")] | 
|         public string WarehouseCode { get; set; } | 
|   | 
|         /// <summary> | 
|         /// 仓库名称 | 
|         /// </summary> | 
|         [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "仓库名称")] | 
|         public string WarehouseName { get; set; } | 
|   | 
|         /// <summary> | 
|         /// 仓库类型 | 
|         /// </summary> | 
|         [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "仓库类型")] | 
|         public string WarehouseType { get; set; } | 
|   | 
|         /// <summary> | 
|         /// 仓库状态 | 
|         /// </summary> | 
|         [SugarColumn(IsNullable = false, DefaultValue = "0", ColumnDescription = "仓库状态")] | 
|         public int WarehouseStatus { get; set; } | 
|   | 
|         /// <summary> | 
|         /// 仓库描述 | 
|         /// </summary> | 
|         [SugarColumn(IsNullable = true, ColumnDescription = "仓库描述")] | 
|         public string WarehouseDes { get; set; } | 
|   | 
|         /// <summary> | 
|         /// 备注 | 
|         /// </summary> | 
|         [SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "备注")] | 
|         public string Remark { get; set; } | 
|     } | 
| } |