using CZFW.Framework.Attributes; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace CZFW.Framework.Model.Entity { [Table("cz_privilege_group")] public class PrivilegeGroupEntity:EntityBase { [Display(Name = "名称")] [Required] [MaxLength(120)] public string Name { get; set; } [Invisible] [MaxLength(1024)] [Required] public string Mark { get; set; } [Invisible] [MaxLength(1024)] [Required] public string ParentMark { get; set; } /// /// 权限组介绍 /// [Display(Name="简介")] [DataType(DataType.MultilineText)] public string Description { get; set; } } }