| using System; | 
| using System.Collections.Generic; | 
| using System.Linq; | 
| using SqlSugar; | 
| using WIDESEA_Core.DB.Models; | 
| namespace WIDESEA_Model.Models | 
| { | 
|     /// <summary> | 
|     /// 单位信息表 | 
|     ///</summary> | 
|     [SugarTable("Dt_UnitInfo")] | 
|     public class Dt_UnitInfo : BaseEntity | 
|     { | 
|          | 
|       | 
|         /// <summary> | 
|         /// 备  注:单位代码 | 
|         /// 默认值: | 
|         ///</summary> | 
|         [SugarColumn(ColumnName="UnitID" ,IsPrimaryKey = true,IsIdentity = true) ] | 
|         public int UnitID  { get; set;  }  | 
|       | 
|         /// <summary> | 
|         /// 备  注:单位代码 | 
|         /// 默认值: | 
|         ///</summary> | 
|         [SugarColumn(ColumnName="UnitCode" ) ] | 
|         public string? UnitCode  { get; set;  }  | 
|       | 
|         /// <summary> | 
|         /// 备  注:单位名称 | 
|         /// 默认值: | 
|         ///</summary> | 
|         [SugarColumn(ColumnName="UnitName" ) ] | 
|         public string? UnitName  { get; set;  }  | 
|       | 
|         /// <summary> | 
|         /// 备  注:包装单位 | 
|         /// 默认值: | 
|         ///</summary> | 
|         [SugarColumn(ColumnName="PackUnit" ) ] | 
|         public string? PackUnit  { get; set;  }  | 
|       | 
|         /// <summary> | 
|         /// 备  注:包装单位量 | 
|         /// 默认值: | 
|         ///</summary> | 
|         [SugarColumn(ColumnName="PackUnitNum" ) ] | 
|         public decimal? PackUnitNum  { get; set;  }  | 
|       | 
|         /// <summary> | 
|         /// 备  注:最小单位量 | 
|         /// 默认值: | 
|         ///</summary> | 
|         [SugarColumn(ColumnName="MinUnitNum" ) ] | 
|         public decimal? MinUnitNum  { get; set;  }  | 
|       | 
|         /// <summary> | 
|         /// 备  注:描述 | 
|         /// 默认值: | 
|         ///</summary> | 
|         [SugarColumn(ColumnName="UnitDesc" ) ] | 
|         public string? UnitDesc  { get; set;  }  | 
|       | 
|         /// <summary> | 
|         /// 备  注: | 
|         /// 默认值: | 
|         ///</summary> | 
|         [SugarColumn(ColumnName="Remark" ) ] | 
|         public string? Remark  { get; set;  }  | 
|       | 
|         | 
|         /// <summary> | 
|         /// 备  注: | 
|         /// 默认值: | 
|         ///</summary> | 
|         [SugarColumn(ColumnName="Spare1" ) ] | 
|         public string? Spare1  { get; set;  }  | 
|       | 
|         /// <summary> | 
|         /// 备  注: | 
|         /// 默认值: | 
|         ///</summary> | 
|         [SugarColumn(ColumnName="Spare2" ) ] | 
|         public string? Spare2  { get; set;  }  | 
|       | 
|         /// <summary> | 
|         /// 备  注: | 
|         /// 默认值: | 
|         ///</summary> | 
|         [SugarColumn(ColumnName="Spare3" ) ] | 
|         public string? Spare3  { get; set;  }  | 
|       | 
|         /// <summary> | 
|         /// 备  注: | 
|         /// 默认值: | 
|         ///</summary> | 
|         [SugarColumn(ColumnName="Spare4" ) ] | 
|         public string? Spare4  { get; set;  }  | 
|       | 
|         /// <summary> | 
|         /// 备  注: | 
|         /// 默认值: | 
|         ///</summary> | 
|         [SugarColumn(ColumnName="Spare5" ) ] | 
|         public string? Spare5  { get; set;  }  | 
|      | 
|   | 
|     } | 
|      | 
| } |