/* *代码由框架生成,任何更改都可能导致被代码生成器覆盖 *如果数据库字段发生变化,请在代码生器重新生成此Model */ using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using WIDESEA_Entity.SystemModels; namespace WIDESEA_Entity.DomainModels { [Entity(TableCnName = "货位表",TableName = "base_ware_location")] [Table("base_ware_location")] public class base_ware_location:BaseEntity { /// ///主键 /// [Key] [Display(Name ="id")] [Column(TypeName="uniqueidentifier")] [Required(AllowEmptyStrings=false)] public Guid id { get; set; } /// ///上料货位编号 /// [Display(Name = "upper_code")] [MaxLength(100)] [Column(TypeName="nvarchar(100)")] [Required(AllowEmptyStrings=false)] public string upper_code { get; set; } /// ///下料货位编号 /// [Display(Name = "down_code")] [MaxLength(100)] [Column(TypeName = "nvarchar(100)")] public string down_code { get; set; } /// ///货物区域 /// [Display(Name ="area")] [MaxLength(100)] [Column(TypeName="nvarchar(100)")] public string area { get; set; } /// ///货位类型 /// [Display(Name ="equipment_type")] [MaxLength(100)] [Column(TypeName="nvarchar(100)")] public string equipment_type { get; set; } /// ///货位名称 /// [Display(Name ="name")] [MaxLength(200)] [Column(TypeName="nvarchar(200)")] public string name { get; set; } /// ///货位层 /// [Display(Name ="logic_layer")] [Column(TypeName="int")] public int? logic_layer { get; set; } /// ///货位列 /// [Display(Name ="logic_col")] [Column(TypeName="int")] public int? logic_col { get; set; } /// ///货位行 /// [Display(Name ="logic_row")] [Column(TypeName="int")] public int? logic_row { get; set; } /// ///货位状态 /// [Display(Name ="location_state")] [MaxLength(100)] [Column(TypeName="nvarchar(100)")] [Required(AllowEmptyStrings=false)] public string location_state { get; set; } /// ///是否启用,1启动0禁用 /// [Display(Name ="status")] [Column(TypeName="int")] [Required(AllowEmptyStrings=false)] public int status { get; set; } /// ///创建者 /// [Display(Name ="created_user")] [MaxLength(100)] [Column(TypeName="nvarchar(100)")] [Required(AllowEmptyStrings=false)] public string created_user { get; set; } /// ///创建时间 /// [Display(Name ="created_time")] [Column(TypeName="datetime")] [Required(AllowEmptyStrings=false)] public DateTime created_time { get; set; } } }