PrivilegeGroupEntity.cs 810 B

12345678910111213141516171819202122232425262728293031323334
  1. using CZFW.Framework.Attributes;
  2. using System.ComponentModel.DataAnnotations;
  3. using System.ComponentModel.DataAnnotations.Schema;
  4. namespace CZFW.Framework.Model.Entity
  5. {
  6. [Table("cz_privilege_group")]
  7. public class PrivilegeGroupEntity:EntityBase
  8. {
  9. [Display(Name = "名称")]
  10. [Required]
  11. [MaxLength(120)]
  12. public string Name { get; set; }
  13. [Invisible]
  14. [MaxLength(1024)]
  15. [Required]
  16. public string Mark { get; set; }
  17. [Invisible]
  18. [MaxLength(1024)]
  19. [Required]
  20. public string ParentMark { get; set; }
  21. /// <summary>
  22. /// 权限组介绍
  23. /// </summary>
  24. [Display(Name="简介")]
  25. [DataType(DataType.MultilineText)]
  26. public string Description { get; set; }
  27. }
  28. }