using System; using SqlSugar; using System.Linq; using System.ComponentModel; using System.Collections.Generic; namespace Tiger.Model { /// /// 实体:储位 /// [Description("Primary:ID")] [Serializable] [SugarTable("WMS_LOCATION")] public class WMS_LOCATION : DbEntityWithAuth { #region 构造函数 /// /// 实体:储位 /// public WMS_LOCATION() {} #endregion #region 公共属性 /// /// 储位编码 /// public string LOCATION_CODE { get; set; } /// /// 储位名称 /// public string LOCATION_NAME { get; set; } /// /// 储位简称 /// public string SHORT_NAME { get; set; } /// /// 所处层数 /// public int FLOOR_NO { get; set; } /// /// 方向(0正面|1反面) /// public int SIDE { get; set; } /// /// 储位序号 /// public int SEQ_NO { get; set; } /// /// 组织代码 /// public string ORG_CODE { get; set; } /// /// 货架/料车ID /// public string SHELF_ID { get; set; } /// /// 是否启用(Y/N) /// public string IS_ACTIVE { get; set; } /// /// 是否混放物料(Y/N) /// public string IS_MIX { get; set; } /// /// 是否单个放置(Y/N) /// public string IS_SINGLE { get; set; } /// /// 储位LedId /// public int LEDID { get; set; } /// /// 储位规格 /// public string SPEC { get; set; } /// /// 是否损坏(Y/N) /// public string IS_DAMAGE { get; set; } /// /// 是否有LED灯(Y/N) /// public string HAS_LED { get; set; } /// /// 指示灯Id /// public int INDICATOR { get; set; } /// /// 备注 /// public string REMARK { get; set; } #endregion #region 虚拟属性 /*例子 [SugarColumn(IsIgnore = true)] public string FieldName { get; set; } */ [SugarColumn(IsIgnore = true)] public WMS_SHELF Shelf { get; set; } #endregion #region 枚举变量 /*例子 public enum FieldNames { [Description("枚举描述0")] Enum0, [Description("枚举描述1")] Enum1, } */ #endregion #region 公共方法 public WMS_LOCATION AddShelf(WMS_SHELF shelf) { Shelf = shelf; return this; } #endregion }//endClass }