using SqlSugar; using System; using System.Collections.Generic; using System.Text; namespace wms.sqlsugar.model.hj { [Tenant("hj")] [SugarTable("base_units", "单位表")] public class hjBaseUnits : BaseModel { /// /// 编码 /// [SugarColumn(ColumnName = "code", ColumnDataType = "nvarchar", Length = 50)] public string Code { get; set; } /// /// 名称 /// [SugarColumn(ColumnName = "name", ColumnDataType = "nvarchar", Length = 100)] public string Name { get; set; } /// /// 主单位编码 /// [SugarColumn(ColumnName = "primary_unit", ColumnDataType = "nvarchar", Length = 50)] public string PrimaryUnit { get; set; } /// /// 副单位编码 /// [SugarColumn(ColumnName = "deputy_unit", ColumnDataType = "nvarchar", Length = 50)] public string DeputyUnit { get; set; } /// /// 换算率 /// [SugarColumn(ColumnName = "conversion_unit", ColumnDataType = "nvarchar", Length = 50)] public string ConversionUnit { get; set; } } }