namespace DOAN.Model.BZFM { /// /// 库位表 /// [SugarTable("mm_location")] public class MmLocation { /// /// 主键ID /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true)] public int Id { get; set; } /// /// 库位编码 /// [SugarColumn(ColumnName = "location_code")] public string LocationCode { get; set; } /// /// 库位名称 /// [SugarColumn(ColumnName = "location_name")] public string LocationName { get; set; } /// /// 仓库编码 /// [SugarColumn(ColumnName = "warehouse_code")] public string WarehouseCode { get; set; } /// /// 仓库名称 /// [SugarColumn(ColumnName = "warehouse_name")] public string WarehouseName { get; set; } /// /// 区域编码 /// [SugarColumn(ColumnName = "area_code")] public string AreaCode { get; set; } /// /// 区域名称 /// [SugarColumn(ColumnName = "area_name")] public string AreaName { get; set; } /// /// 容量 /// public decimal Capacity { get; set; } /// /// 容量单位 /// public string Unit { get; set; } /// /// 库位类型(半成品/成品/临时/返工/报废) /// [SugarColumn(ColumnName = "location_type")] public string LocationType { get; set; } /// /// 状态(停用/启用) /// public string Status { get; set; } /// /// 创建时间 /// [SugarColumn(ColumnName = "created_time")] public DateTime? CreatedTime { get; set; } /// /// 更新时间 /// [SugarColumn(ColumnName = "updated_time")] public DateTime? UpdatedTime { get; set; } /// /// 描述 /// public string Description { get; set; } } }