SysFunction.java 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. package com.miniframe.model.system;
  2. import com.miniframe.system.MiniserviceBaseModel;
  3. import java.io.Serializable;
  4. import javax.persistence.*;
  5. @Table(name = "sys_function")
  6. public class SysFunction extends MiniserviceBaseModel implements Serializable {
  7. /**
  8. * 功能id : 功能id
  9. */
  10. @Id
  11. private String functionid;
  12. /**
  13. * 分类名称 : 功能分类id
  14. */
  15. private String classname;
  16. /**
  17. * 功能名称 : 功能名称
  18. */
  19. private String functionname;
  20. /**
  21. * 功能描述 : 功能描述
  22. */
  23. private String functiondesc;
  24. /**
  25. * 是否开启
  26. */
  27. private Boolean enable;
  28. /**
  29. * 是否需要用户选择
  30. */
  31. private Boolean usersel;
  32. private static final long serialVersionUID = 1L;
  33. /**
  34. * 获取功能id : 功能id
  35. *
  36. * @return functionid - 功能id : 功能id
  37. */
  38. public String getFunctionid() {
  39. return functionid;
  40. }
  41. /**
  42. * 设置功能id : 功能id
  43. *
  44. * @param functionid 功能id : 功能id
  45. */
  46. public void setFunctionid(String functionid) {
  47. this.functionid = functionid == null ? null : functionid.trim();
  48. }
  49. /**
  50. * 获取分类名称 : 功能分类id
  51. *
  52. * @return classname - 分类名称 : 功能分类id
  53. */
  54. public String getClassname() {
  55. return classname;
  56. }
  57. /**
  58. * 设置分类名称 : 功能分类id
  59. *
  60. * @param classname 分类名称 : 功能分类id
  61. */
  62. public void setClassname(String classname) {
  63. this.classname = classname == null ? null : classname.trim();
  64. }
  65. /**
  66. * 获取功能名称 : 功能名称
  67. *
  68. * @return functionname - 功能名称 : 功能名称
  69. */
  70. public String getFunctionname() {
  71. return functionname;
  72. }
  73. /**
  74. * 设置功能名称 : 功能名称
  75. *
  76. * @param functionname 功能名称 : 功能名称
  77. */
  78. public void setFunctionname(String functionname) {
  79. this.functionname = functionname == null ? null : functionname.trim();
  80. }
  81. /**
  82. * 获取功能描述 : 功能描述
  83. *
  84. * @return functiondesc - 功能描述 : 功能描述
  85. */
  86. public String getFunctiondesc() {
  87. return functiondesc;
  88. }
  89. /**
  90. * 设置功能描述 : 功能描述
  91. *
  92. * @param functiondesc 功能描述 : 功能描述
  93. */
  94. public void setFunctiondesc(String functiondesc) {
  95. this.functiondesc = functiondesc == null ? null : functiondesc.trim();
  96. }
  97. /**
  98. * 获取是否开启
  99. *
  100. * @return enable - 是否开启
  101. */
  102. public Boolean getEnable() {
  103. return enable;
  104. }
  105. /**
  106. * 设置是否开启
  107. *
  108. * @param enable 是否开启
  109. */
  110. public void setEnable(Boolean enable) {
  111. this.enable = enable;
  112. }
  113. /**
  114. * 获取是否需要用户选择
  115. *
  116. * @return usersel - 是否需要用户选择
  117. */
  118. public Boolean getUsersel() {
  119. return usersel;
  120. }
  121. /**
  122. * 设置是否需要用户选择
  123. *
  124. * @param usersel 是否需要用户选择
  125. */
  126. public void setUsersel(Boolean usersel) {
  127. this.usersel = usersel;
  128. }
  129. }