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