MoAuthoryRight.cs 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. using ProjectBase.Data.BaseDAL;
  2. using ProjectBase.Util;
  3. using System;
  4. namespace SIASUN.Autopilot.Model
  5. {
  6. /// <summary>
  7. /// 权限管理中的用户管理
  8. /// </summary>
  9. [Serializable]
  10. public class MoAuthoryRight: BaseEntity
  11. {
  12. public MoAuthoryRight()
  13. {
  14. this.CurrentLoginUserId = SysEnvironment.CurrentLoginID;
  15. }
  16. #region Field Members
  17. private string m_RightId = ""; // 权限编码
  18. private string m_ParentRightId = ""; // 父权限编码
  19. private string m_RightName = ""; // 权限名称
  20. private string m_RightDescription = ""; // 权限描述
  21. #endregion
  22. #region Property Members
  23. /// <summary>
  24. /// 权限编码
  25. /// </summary>
  26. public virtual string RightId
  27. {
  28. get
  29. {
  30. return this.m_RightId;
  31. }
  32. set
  33. {
  34. this.m_RightId = value;
  35. }
  36. }
  37. /// <summary>
  38. /// 父权限编码
  39. /// </summary>
  40. public virtual string ParentRightId
  41. {
  42. get
  43. {
  44. return this.m_ParentRightId;
  45. }
  46. set
  47. {
  48. this.m_ParentRightId = value;
  49. }
  50. }
  51. /// <summary>
  52. /// 权限名称
  53. /// </summary>
  54. public virtual string RightName
  55. {
  56. get
  57. {
  58. return this.m_RightName;
  59. }
  60. set
  61. {
  62. this.m_RightName = value;
  63. }
  64. }
  65. /// <summary>
  66. /// 权限描述
  67. /// </summary>
  68. public virtual string RightDescription
  69. {
  70. get
  71. {
  72. return this.m_RightDescription;
  73. }
  74. set
  75. {
  76. this.m_RightDescription = value;
  77. }
  78. }
  79. #endregion
  80. }
  81. }