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