using System;
|
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations.Schema;
|
using WIDESEA_Entity.SystemModels;
|
namespace WIDESEA_Entity.DomainModels.CacheTask
|
{
|
namespace WIDESEA_Entity.DomainModels
|
{
|
[Entity(TableCnName = "库存表", TableName = "dt_container")]
|
[Table("dt_container")]
|
public class dt_container : BaseEntity
|
{
|
/// <summary>
|
///主键
|
/// </summary>
|
[Key]
|
[Display(Name = "container_id")]
|
[Column(TypeName = "uniqueidentifier")]
|
[Required(AllowEmptyStrings = false)]
|
public Guid container_id { get; set; }
|
/// <summary>
|
///缓存柜条码
|
/// </summary>
|
[Display(Name = "container_sn")]
|
[MaxLength(100)]
|
[Column(TypeName = "nvarchar(50)")]
|
[Required(AllowEmptyStrings = false)]
|
[Editable(true)]
|
public string container_sn { get; set; }
|
|
/// <summary>
|
///货位编号
|
/// </summary>
|
[Display(Name = "container_barcode")]
|
[MaxLength(100)]
|
[Column(TypeName = "nvarchar(50")]
|
[Required(AllowEmptyStrings = false)]
|
[Editable(true)]
|
public string container_barcode { get; set; }
|
|
/// <summary>
|
///物料类型
|
/// </summary>
|
[Display(Name = "container_materielid")]
|
[MaxLength(100)]
|
[Column(TypeName = "nvarchar(40")]
|
[Required(AllowEmptyStrings = false)]
|
[Editable(true)]
|
public string container_materielid { get; set; }
|
/// <summary>
|
///货位状态
|
/// </summary>
|
[Display(Name = "container_state")]
|
[MaxLength(200)]
|
[Column(TypeName = "nvarchar(50")]
|
[Editable(true)]
|
public string container_state { get; set; }
|
|
|
/// <summary>
|
///创建者
|
/// </summary>
|
[Display(Name = "container_creator")]
|
[MaxLength(100)]
|
[Column(TypeName = "nvarchar(100)")]
|
|
[Editable(true)]
|
public string? container_creator { get; set; }
|
|
/// <summary>
|
///创建时间
|
/// </summary>
|
[Display(Name = "container_createtime")]
|
[Column(TypeName = "datetime")]
|
[Required(AllowEmptyStrings = false)]
|
public DateTime? container_createtime { get; set; }
|
|
/// <summary>
|
///预留
|
/// </summary>
|
[Display(Name = "container_text1")]
|
[MaxLength(50)]
|
[Column(TypeName = "nvarchar(50")]
|
[Editable(true)]
|
public string container_text1 { get; set; }
|
/// <summary>
|
///预留
|
/// </summary>
|
[Display(Name = "container_text2")]
|
[MaxLength(50)]
|
[Column(TypeName = "nvarchar(50")]
|
[Editable(true)]
|
public string container_text2 { get; set; }
|
/// <summary>
|
///预留
|
/// </summary>
|
[Display(Name = "container_text3")]
|
[MaxLength(50)]
|
[Column(TypeName = "nvarchar(50")]
|
[Editable(true)]
|
public string container_text3 { get; set; }
|
}
|
}
|
|
}
|