Role.cs 586 B

1234567891011121314151617181920212223242526272829
  1. using Datory;
  2. using Datory.Annotations;
  3. namespace GxPress.Entity
  4. {
  5. /// <summary>
  6. /// 角色
  7. /// </summary>
  8. [DataTable("tede_role")]
  9. public class Role : Datory.Entity
  10. {
  11. /// <summary>
  12. /// 角色名
  13. /// </summary>
  14. [DataColumn]
  15. public string Name { get; set; }
  16. /// <summary>
  17. /// 角色组id
  18. /// </summary>
  19. [DataColumn]
  20. public int GroupId { get; set; }
  21. /// <summary>
  22. /// 排序
  23. /// </summary>
  24. [DataColumn]
  25. public int Sort { get; set; }
  26. }
  27. }