|
|
/*
|
|
|
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
|
|
*如果数据库字段发生变化,请在代码生器重新生成此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 = "INFO_FILES",TableName = "INFO_FILES")]
|
|
|
public class INFO_FILES:BaseEntity
|
|
|
{
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Key]
|
|
|
[Display(Name ="GID")]
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
public Guid GID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="PID")]
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
[ParentId("")]
|
|
|
public Guid PID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="FILENAME")]
|
|
|
[MaxLength(100)]
|
|
|
[Column(TypeName="varchar(100)")]
|
|
|
[Editable(true)]
|
|
|
public string FILENAME { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="FILETYPE")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
[Editable(true)]
|
|
|
public string FILETYPE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="IMGFILE")]
|
|
|
[MaxLength(16)]
|
|
|
[Column(TypeName="image(16)")]
|
|
|
[Editable(true)]
|
|
|
public string IMGFILE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="UPLOADEMPLY")]
|
|
|
[MaxLength(20)]
|
|
|
[Column(TypeName="varchar(20)")]
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
[Editable(true)]
|
|
|
public string UPLOADEMPLY { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="UPLOADDATE")]
|
|
|
[MaxLength(20)]
|
|
|
[Column(TypeName="varchar(20)")]
|
|
|
[Editable(true)]
|
|
|
public string UPLOADDATE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="FILEPATH")]
|
|
|
[MaxLength(500)]
|
|
|
[Column(TypeName="varchar(500)")]
|
|
|
[Editable(true)]
|
|
|
public string FILEPATH { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="IMGPATH")]
|
|
|
[MaxLength(500)]
|
|
|
[Column(TypeName="varchar(500)")]
|
|
|
[Editable(true)]
|
|
|
public string IMGPATH { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="PWORKTYPE")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string PWORKTYPE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="CreateID")]
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
public Guid? CreateID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="CreateDate")]
|
|
|
[Column(TypeName="datetime")]
|
|
|
public DateTime? CreateDate { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="Creator")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string Creator { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="ModifyID")]
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
public Guid? ModifyID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="ModifyDate")]
|
|
|
[Column(TypeName="datetime")]
|
|
|
public DateTime? ModifyDate { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="Modifier")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string Modifier { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="PBSNO")]
|
|
|
[MaxLength(500)]
|
|
|
[Column(TypeName="varchar(500)")]
|
|
|
[Editable(true)]
|
|
|
public string PBSNO { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="MBLNO")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string MBLNO { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="CNTRNO")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string CNTRNO { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="CORPID")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string CORPID { get; set; }
|
|
|
|
|
|
|
|
|
}
|
|
|
} |