Permission.cs 416 B

123456789101112131415161718
  1. using MTWorkHR.Core.Entities.Base;
  2. using System.ComponentModel.DataAnnotations;
  3. namespace MTWorkHR.Core.Entities
  4. {
  5. public class Permission : Entity
  6. {
  7. [MaxLength(250)]
  8. public string Name { get; set; }
  9. [MaxLength(150)]
  10. public string CategoryName { get; set; }
  11. [MaxLength(250)]
  12. public string Desc { get; set; }
  13. public bool Show { get; set; }
  14. }
  15. }