/*
*Author:jxx
*Contact:283591387@qq.com
*Date:2018-07-01
* 此代码由框架生成,请勿随意更改
*/
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
{
[Table("Sys_Menu")]
[EntityAttribute(TableCnName = "菜单配置")]
public class Sys_Menu:BaseEntity
{
///
///ID
///
[Key]
[Display(Name ="ID")]
[DisplayFormat(DataFormatString="10,0")]
[Column(TypeName="int")]
[Editable(true)]
[Required(AllowEmptyStrings=false)]
public int Menu_Id { get; set; }
///
///父级ID
///
[Display(Name ="父级ID")]
[DisplayFormat(DataFormatString="10,0")]
[Column(TypeName="int")]
[Editable(true)]
[Required(AllowEmptyStrings=false)]
public int ParentId { get; set; }
///
///菜单名称
///
[Display(Name ="菜单名称")]
[MaxLength(50)]
[Column(TypeName="nvarchar(50)")]
[Editable(true)]
[Required(AllowEmptyStrings=false)]
public string MenuName { get; set; }
///
///
///
[Display(Name = "TableName")]
[MaxLength(200)]
[Column(TypeName = "nvarchar(200)")]
[Editable(true)]
public string TableName { get; set; }
///
///
///
[Display(Name ="Url")]
[MaxLength(10000)]
[Column(TypeName="nvarchar(10000)")]
[Editable(true)]
public string Url { get; set; }
///
///权限
///
[Display(Name ="权限")]
[MaxLength(10000)]
[Column(TypeName="nvarchar(10000)")]
[Editable(true)]
public string Auth { get; set; }
///
///
///
[Display(Name ="Description")]
[MaxLength(200)]
[Column(TypeName="nvarchar(200)")]
[Editable(true)]
public string Description { get; set; }
///
///图标
///
[Display(Name ="图标")]
[MaxLength(50)]
[Column(TypeName="nvarchar(50)")]
[Editable(true)]
public string Icon { get; set; }
///
///排序号
///
[Display(Name ="排序号")]
[DisplayFormat(DataFormatString="10,0")]
[Column(TypeName="int")]
[Editable(true)]
public int? OrderNo { get; set; }
///
///创建人
///
[Display(Name ="创建人")]
[MaxLength(50)]
[Column(TypeName="nvarchar(50)")]
[Editable(true)]
public string Creator { get; set; }
///
///创建时间
///
[Display(Name ="创建时间")]
[Column(TypeName="datetime")]
[Editable(true)]
public DateTime? CreateDate { get; set; }
///
///
///
[Display(Name ="Modifier")]
[MaxLength(50)]
[Column(TypeName="nvarchar(50)")]
[Editable(true)]
public string Modifier { get; set; }
///
///
///
[Display(Name ="ModifyDate")]
[Column(TypeName="datetime")]
[Editable(true)]
public DateTime? ModifyDate { get; set; }
///
///是否启用
///
[Display(Name ="是否启用")]
[DisplayFormat(DataFormatString="3,0")]
[Column(TypeName="tinyint")]
[Editable(true)]
public byte? Enable { get; set; }
public List Actions { get; set; }
}
}