/*
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
*如果数据库字段发生变化,请在代码生器重新生成此Model
*/
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;
using VolPro.Entity.SystemModels;
namespace VolPro.Entity.DomainModels
{
[Entity(TableCnName = "货位管理",TableName = "MES_LocationManagement",DBServer = "ServiceDbContext")]
public partial class MES_LocationManagement:ServiceEntity
{
///
///货位ID
///
[SugarColumn(IsPrimaryKey = true)]
[Key]
[Display(Name ="货位ID")]
[MaxLength(36)]
[Column(TypeName="uniqueidentifier")]
[Editable(true)]
[Required(AllowEmptyStrings=false)]
public Guid LocationID { get; set; }
///
///货位编码
///
[Display(Name ="货位编码")]
[MaxLength(100)]
[Column(TypeName="nvarchar(100)")]
[Editable(true)]
[Required(AllowEmptyStrings=false)]
public string LocationCode { get; set; }
///
///货位名称
///
[Display(Name ="货位名称")]
[MaxLength(100)]
[Column(TypeName="nvarchar(100)")]
[Editable(true)]
[Required(AllowEmptyStrings=false)]
public string LocationName { get; set; }
///
///所属仓库
///
[Display(Name ="所属仓库")]
[MaxLength(36)]
[Column(TypeName="uniqueidentifier")]
[Editable(true)]
public Guid? WarehouseID { get; set; }
///
///货位类型
///
[Display(Name ="货位类型")]
[MaxLength(100)]
[Column(TypeName="nvarchar(100)")]
[Editable(true)]
public string LocationType { get; set; }
///
///货位容量
///
[Display(Name ="货位容量")]
[Column(TypeName="int")]
[Editable(true)]
[Required(AllowEmptyStrings=false)]
public int LocationCapacity { get; set; }
///
///货位状态
///
[Display(Name ="货位状态")]
[MaxLength(100)]
[Column(TypeName="nvarchar(100)")]
[Editable(true)]
public string LocationStatus { get; set; }
///
///货位行号
///
[Display(Name ="货位行号")]
[Column(TypeName="int")]
[Editable(true)]
[Required(AllowEmptyStrings=false)]
public int LocationRow { get; set; }
///
///货位列号
///
[Display(Name ="货位列号")]
[Column(TypeName="int")]
[Editable(true)]
[Required(AllowEmptyStrings=false)]
public int LocationColumn { get; set; }
///
///货位层数
///
[Display(Name ="货位层数")]
[Column(TypeName="int")]
[Editable(true)]
[Required(AllowEmptyStrings=false)]
public int LocationFloor { get; set; }
///
///创建人ID
///
[Display(Name ="创建人ID")]
[Column(TypeName="int")]
[Editable(true)]
public int? CreateID { get; set; }
///
///创建人
///
[Display(Name ="创建人")]
[MaxLength(100)]
[Column(TypeName="nvarchar(100)")]
[Editable(true)]
public string Creator { get; set; }
///
///创建时间
///
[Display(Name ="创建时间")]
[Column(TypeName="datetime")]
[Editable(true)]
public DateTime? CreateDate { get; set; }
///
///修改人ID
///
[Display(Name ="修改人ID")]
[Column(TypeName="int")]
[Editable(true)]
public int? ModifyID { get; set; }
///
///修改人
///
[Display(Name ="修改人")]
[MaxLength(100)]
[Column(TypeName="nvarchar(100)")]
[Editable(true)]
public string Modifier { get; set; }
///
///修改时间
///
[Display(Name ="修改时间")]
[Column(TypeName="datetime")]
[Editable(true)]
public DateTime? ModifyDate { get; set; }
}
}