using CZFW.Framework.Attributes; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace CZFW.Framework.Model { public class PrivilegeGroupModel:ModelBase { [Display(Name = "名称")] [MaxLength(120)] public string Name { get; set; } [Invisible] [MaxLength(1024)] public string Mark { get; set; } [Invisible] [MaxLength(1024)] public string ParentMark { get; set; } [Invisible] public IList Children { get; set; } [Display(Name="父节点")] [Editable(false)] public string ParentName { get; set; } } }