SysRole.cs 837 B

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