/*
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
*如果数据库字段发生变化,请在代码生器重新生成此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 VOL.Entity.SystemModels;
namespace VOL.Entity.DomainModels
{
[Entity(TableCnName = "场站班列信息",TableName = "OP_YARD_TRAININFO")]
public class OP_YARD_TRAININFO:BaseEntity
{
///
///
///
[Key]
[Display(Name ="YARDTRAINGID")]
[Column(TypeName="uniqueidentifier")]
[Required(AllowEmptyStrings=false)]
public Guid YARDTRAINGID { get; set; }
///
///班列名称
///
[Display(Name ="班列名称")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
[Editable(true)]
public string TRAINNAME { get; set; }
///
///班列日期
///
[Display(Name ="班列日期")]
[Column(TypeName="datetime")]
[Editable(true)]
public DateTime? TRAINDATE { get; set; }
///
///车次号
///
[Display(Name ="车次号")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
[Editable(true)]
public string TRAINNUM { get; set; }
///
///来去类型
///
[Display(Name ="来去类型")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
[Editable(true)]
public string TRAINTYPE { get; set; }
///
///备注
///
[Display(Name ="备注")]
[MaxLength(200)]
[Column(TypeName="varchar(200)")]
[Editable(true)]
public string REMARK { get; set; }
///
///
///
[Display(Name ="CreateID")]
[Column(TypeName="uniqueidentifier")]
public Guid? CreateID { get; set; }
///
///建立人
///
[Display(Name ="建立人")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string Creator { get; set; }
///
///建立日期
///
[Display(Name ="建立日期")]
[Column(TypeName="datetime")]
public DateTime? CreateDate { get; set; }
///
///
///
[Display(Name ="ModifyID")]
[Column(TypeName="uniqueidentifier")]
public Guid? ModifyID { get; set; }
///
///修改人
///
[Display(Name ="修改人")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string Modifier { get; set; }
///
///修改日期
///
[Display(Name ="修改日期")]
[Column(TypeName="datetime")]
public DateTime? ModifyDate { get; set; }
///
///分公司
///
[Display(Name ="分公司")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string CORPID { get; set; }
[Display(Name = "已生成叉车工作单")]
[Column(TypeName = "bit")]
public bool? HaveWork { get; set; }
}
}