PrivilegeGroupModel.cs 697 B

123456789101112131415161718192021222324252627282930
  1. using CZFW.Framework.Attributes;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. namespace CZFW.Framework.Model
  5. {
  6. public class PrivilegeGroupModel:ModelBase
  7. {
  8. [Display(Name = "名称")]
  9. [MaxLength(120)]
  10. public string Name { get; set; }
  11. [Invisible]
  12. [MaxLength(1024)]
  13. public string Mark { get; set; }
  14. [Invisible]
  15. [MaxLength(1024)]
  16. public string ParentMark { get; set; }
  17. [Invisible]
  18. public IList<PrivilegeGroupModel> Children { get; set; }
  19. [Display(Name="父节点")]
  20. [Editable(false)]
  21. public string ParentName { get; set; }
  22. }
  23. }