using MTWorkHR.Core.Entities.Base; using System.ComponentModel.DataAnnotations; namespace MTWorkHR.Identity.Entities { public class Permission : Entity { [MaxLength(250)] public string Name { get; set; } [MaxLength(150)] public string CategoryName { get; set; } [MaxLength(250)] public string Desc { get; set; } public bool Show { get; set; } } }