110 lines
3.0 KiB
C#
110 lines
3.0 KiB
C#
|
|
/*
|
|||
|
|
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
|||
|
|
*如果数据库字段发生变化,请在代码生器重新生成此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 iMES.Entity.SystemModels;
|
|||
|
|
|
|||
|
|
namespace iMES.Entity.DomainModels
|
|||
|
|
{
|
|||
|
|
[Entity(TableCnName = "打印模版分类",TableName = "Base_PrintCatalog")]
|
|||
|
|
public partial class Base_PrintCatalog:SysEntity
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
///打印模板分类主键ID
|
|||
|
|
/// </summary>
|
|||
|
|
[Key]
|
|||
|
|
[Display(Name ="打印模板分类主键ID")]
|
|||
|
|
[Column(TypeName="uniqueidentifier")]
|
|||
|
|
[Required(AllowEmptyStrings=false)]
|
|||
|
|
public Guid CatalogId { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
///分类名称
|
|||
|
|
/// </summary>
|
|||
|
|
[Display(Name ="分类名称")]
|
|||
|
|
[MaxLength(100)]
|
|||
|
|
[Column(TypeName="nvarchar(100)")]
|
|||
|
|
[Editable(true)]
|
|||
|
|
[Required(AllowEmptyStrings=false)]
|
|||
|
|
public string CatalogName { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
///层级
|
|||
|
|
/// </summary>
|
|||
|
|
[Display(Name ="层级")]
|
|||
|
|
[Column(TypeName="int")]
|
|||
|
|
[Required(AllowEmptyStrings=false)]
|
|||
|
|
public int LevelPath { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
///分类编码
|
|||
|
|
/// </summary>
|
|||
|
|
[Display(Name ="分类编码")]
|
|||
|
|
[MaxLength(100)]
|
|||
|
|
[Column(TypeName="varchar(100)")]
|
|||
|
|
[Editable(true)]
|
|||
|
|
[Required(AllowEmptyStrings=false)]
|
|||
|
|
public string CatalogCode { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
///上级分类
|
|||
|
|
/// </summary>
|
|||
|
|
[Display(Name ="上级分类")]
|
|||
|
|
[Column(TypeName="uniqueidentifier")]
|
|||
|
|
[Editable(true)]
|
|||
|
|
public Guid? ParentId { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
///创建人编号
|
|||
|
|
/// </summary>
|
|||
|
|
[Display(Name ="创建人编号")]
|
|||
|
|
[Column(TypeName="int")]
|
|||
|
|
public int? CreateID { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
///创建人
|
|||
|
|
/// </summary>
|
|||
|
|
[Display(Name ="创建人")]
|
|||
|
|
[MaxLength(30)]
|
|||
|
|
[Column(TypeName="nvarchar(30)")]
|
|||
|
|
public string Creator { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
///创建时间
|
|||
|
|
/// </summary>
|
|||
|
|
[Display(Name ="创建时间")]
|
|||
|
|
[Column(TypeName="datetime")]
|
|||
|
|
public DateTime? CreateDate { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
///修改人编号
|
|||
|
|
/// </summary>
|
|||
|
|
[Display(Name ="修改人编号")]
|
|||
|
|
[Column(TypeName="int")]
|
|||
|
|
public int? ModifyID { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
///修改人
|
|||
|
|
/// </summary>
|
|||
|
|
[Display(Name ="修改人")]
|
|||
|
|
[MaxLength(30)]
|
|||
|
|
[Column(TypeName="nvarchar(30)")]
|
|||
|
|
public string Modifier { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
///修改时间
|
|||
|
|
/// </summary>
|
|||
|
|
[Display(Name ="修改时间")]
|
|||
|
|
[Column(TypeName="datetime")]
|
|||
|
|
public DateTime? ModifyDate { get; set; }
|
|||
|
|
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
}
|