|
|
/*
|
|
|
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
|
|
*如果数据库字段发生变化,请在代码生器重新生成此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 = "字典明细")]
|
|
|
public class Sys_DictionaryList:BaseEntity
|
|
|
{
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Key]
|
|
|
[Display(Name ="DicList_ID")]
|
|
|
[Column(TypeName="int")]
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
public int DicList_ID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///数据源ID
|
|
|
/// </summary>
|
|
|
[Display(Name ="数据源ID")]
|
|
|
[Column(TypeName="int")]
|
|
|
[Editable(true)]
|
|
|
public int? Dic_ID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///数据源Value
|
|
|
/// </summary>
|
|
|
[Display(Name ="数据源Value")]
|
|
|
[MaxLength(100)]
|
|
|
[Column(TypeName="nvarchar(100)")]
|
|
|
[Editable(true)]
|
|
|
public string DicValue { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///数据源Text
|
|
|
/// </summary>
|
|
|
[Display(Name ="数据源Text")]
|
|
|
[MaxLength(100)]
|
|
|
[Column(TypeName="nvarchar(100)")]
|
|
|
[Editable(true)]
|
|
|
public string DicName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///排序号
|
|
|
/// </summary>
|
|
|
[Display(Name ="排序号")]
|
|
|
[Column(TypeName="int")]
|
|
|
[Editable(true)]
|
|
|
public int? OrderNo { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///备注
|
|
|
/// </summary>
|
|
|
[Display(Name ="备注")]
|
|
|
[MaxLength(2000)]
|
|
|
[Column(TypeName="nvarchar(2000)")]
|
|
|
[Editable(true)]
|
|
|
public string Remark { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///是否可用
|
|
|
/// </summary>
|
|
|
[Display(Name ="是否可用")]
|
|
|
[Column(TypeName="tinyint")]
|
|
|
[Editable(true)]
|
|
|
public byte? Enable { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="CreateID")]
|
|
|
[Column(TypeName = "uniqueidentifier")]
|
|
|
public Guid 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 ="ModifyID")]
|
|
|
[Column(TypeName = "uniqueidentifier")]
|
|
|
public Guid 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; }
|
|
|
|
|
|
|
|
|
}
|
|
|
} |