using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SqlSugar; namespace ZR.Model.MES.wms { /// /// 物料 /// [SugarTable("wms_item")] public class WmsItem { /// /// /// [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)] public long Id { get; set; } /// /// 编号 /// [SugarColumn(ColumnName = "item_no")] public string ItemNo { get; set; } /// /// 名称 /// [SugarColumn(ColumnName = "item_name")] public string ItemName { get; set; } /// /// 规格 /// [SugarColumn(ColumnName = "specification")] public string Specification { get; set; } /// /// 分类 /// [SugarColumn(ColumnName = "item_type")] public string ItemType { get; set; } /// /// 单位类别 /// [SugarColumn(ColumnName = "unit")] public string Unit { get; set; } /// /// 单价 /// [SugarColumn(ColumnName = "unit_price")] public decimal? UnitPrice { get; set; } /// /// 所属货架 /// [SugarColumn(ColumnName = "rack_id")] public long? RackId { get; set; } /// /// 所属库区 /// [SugarColumn(ColumnName = "area_id")] public long? AreaId { get; set; } /// /// 所属仓库 /// [SugarColumn(ColumnName = "warehouse_id")] public long? WarehouseId { get; set; } /// /// 安全库存 /// [SugarColumn(ColumnName = "quantity")] public decimal? Quantity { get; set; } /// /// 生产日期 /// [SugarColumn(ColumnName = "production_date")] public DateTime? ProductionDate { get; set; } /// /// 有效期 /// [SugarColumn(ColumnName = "expiry_date")] public DateTime? ExpiryDate { get; set; } /// /// 批次 /// [SugarColumn(ColumnName = "batch")] public string Batch { get; set; } /// /// 删除标识 /// 默认值: 0 /// [SugarColumn(ColumnName = "del_flag")] public byte DelFlag { get; set; } /// /// 备注 /// [SugarColumn(ColumnName = "remark")] public string Remark { get; set; } /// /// 创建人 /// [SugarColumn(ColumnName = "create_by")] public long? CreateBy { get; set; } /// /// 创建时间 /// [SugarColumn(ColumnName = "create_time")] public DateTime? CreateTime { get; set; } /// /// 修改人 /// [SugarColumn(ColumnName = "update_by")] public long? UpdateBy { get; set; } /// /// 修改时间 /// [SugarColumn(ColumnName = "update_time")] public DateTime? UpdateTime { get; set; } } }