SysRole.cs 811 B

12345678910111213141516171819202122232425262728293031323334353637
  1. using ERP.Framework.Enum;
  2. using ERP.Framework.WebApi;
  3. using System.ComponentModel.DataAnnotations.Schema;
  4. namespace ERP.Core.Entities
  5. {
  6. [Table("sys_role")]
  7. public class SysRole : BaseEntity
  8. {
  9. /// <summary>
  10. ///
  11. /// </summary>
  12. public virtual string RoleName { get; set; } = string.Empty;
  13. /// <summary>
  14. ///
  15. /// </summary>
  16. public virtual string RoleKey { get; set; } = string.Empty;
  17. /// <summary>
  18. ///
  19. /// </summary>
  20. public virtual int OrderNum { get; set; }
  21. /// <summary>
  22. ///
  23. /// </summary>
  24. public virtual StatusEnum RoleStatus { get; set; }
  25. /// <summary>
  26. ///
  27. /// </summary>
  28. public virtual StatusEnum DataStatus { get; set; }
  29. }
  30. }