You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.3 KiB

преди 3 години
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. namespace Basic.Model
  6. {
  7. /// <summary>
  8. /// 管理角色:实体类
  9. /// </summary>
  10. [Serializable]
  11. public class manager_role
  12. {
  13. #region Model
  14. private int _id;
  15. private string _role_name;
  16. private int _role_type = 1;
  17. /// <summary>
  18. /// 自增ID
  19. /// </summary>
  20. public int id
  21. {
  22. set { _id = value; }
  23. get { return _id; }
  24. }
  25. /// <summary>
  26. /// 角色名称
  27. /// </summary>
  28. public string role_name
  29. {
  30. set { _role_name = value; }
  31. get { return _role_name; }
  32. }
  33. /// <summary>
  34. /// 角色类型
  35. /// </summary>
  36. public int role_type
  37. {
  38. set { _role_type = value; }
  39. get { return _role_type; }
  40. }
  41. #endregion Model
  42. private List<Model.manager_role_value> _manager_role_values;
  43. /// <summary>
  44. /// 权限子类
  45. /// </summary>
  46. public List<Model.manager_role_value> manager_role_values
  47. {
  48. set { _manager_role_values = value; }
  49. get { return _manager_role_values; }
  50. }
  51. }
  52. }