using VOL.Entity.SystemModels; 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; namespace VOL.Entity.DomainModels { [Table("Sys_RoleAuth_Core")] public class Sys_RoleAuth: BaseEntity { /// /// /// [Key] [Display(Name ="")] [Required(AllowEmptyStrings=false)] public int Auth_Id { get; set; } /// /// /// [Display(Name ="")] [Column(TypeName="nvarchar(50)")] public string Role_Id { get; set; } /// /// /// [Display(Name ="")] [Column(TypeName = "nvarchar(50)")] public string User_Id { get; set; } /// /// /// [Display(Name ="")] [Column(TypeName="int")] [Required(AllowEmptyStrings=false)] public int Menu_Id { get; set; } /// ///用户权限 /// [Display(Name ="用户权限")] [MaxLength(1000)] [Column(TypeName="nvarchar(1000)")] [Required(AllowEmptyStrings=false)] public string AuthValue { get; set; } /// /// /// [Display(Name ="")] [MaxLength(100)] [Column(TypeName="nvarchar(1000)")] public string Creator { get; set; } /// /// /// [Display(Name ="")] [Column(TypeName="datetime")] public DateTime? CreateDate { get; set; } /// /// /// [Display(Name ="")] [MaxLength(100)] [Column(TypeName="nvarchar(1000)")] public string Modifier { get; set; } /// /// /// [Display(Name ="")] [Column(TypeName="datetime")] public DateTime? ModifyDate { get; set; } } }