SysDepartment.java 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  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_department")
  6. public class SysDepartment extends MiniserviceBaseModel implements Serializable {
  7. /**
  8. * 机构编码
  9. */
  10. @Id
  11. private String deptcode;
  12. /**
  13. * 机构名称
  14. */
  15. private String deptname;
  16. /**
  17. * 上级机构
  18. */
  19. private String parent;
  20. /**
  21. * 机构类型 : 1公证处,0运营
  22. */
  23. private String depttype;
  24. /**
  25. * 联系人
  26. */
  27. private String deptconn;
  28. /**
  29. * 地址
  30. */
  31. private String deptaddr;
  32. /**
  33. * 电话
  34. */
  35. private String depttell;
  36. /**
  37. * 备注 : 备注
  38. */
  39. private String remarks;
  40. /**
  41. * 是否允许删除
  42. */
  43. private String enabledel;
  44. /**
  45. * 特殊功能
  46. */
  47. private String deptfunc;
  48. private static final long serialVersionUID = 1L;
  49. /**
  50. * 获取机构编码
  51. *
  52. * @return deptcode - 机构编码
  53. */
  54. public String getDeptcode() {
  55. return deptcode;
  56. }
  57. /**
  58. * 设置机构编码
  59. *
  60. * @param deptcode 机构编码
  61. */
  62. public void setDeptcode(String deptcode) {
  63. this.deptcode = deptcode == null ? null : deptcode.trim();
  64. }
  65. /**
  66. * 获取机构名称
  67. *
  68. * @return deptname - 机构名称
  69. */
  70. public String getDeptname() {
  71. return deptname;
  72. }
  73. /**
  74. * 设置机构名称
  75. *
  76. * @param deptname 机构名称
  77. */
  78. public void setDeptname(String deptname) {
  79. this.deptname = deptname == null ? null : deptname.trim();
  80. }
  81. /**
  82. * 获取上级机构
  83. *
  84. * @return parent - 上级机构
  85. */
  86. public String getParent() {
  87. return parent;
  88. }
  89. /**
  90. * 设置上级机构
  91. *
  92. * @param parent 上级机构
  93. */
  94. public void setParent(String parent) {
  95. this.parent = parent == null ? null : parent.trim();
  96. }
  97. /**
  98. * 获取机构类型 : 1公证处,0运营
  99. *
  100. * @return depttype - 机构类型 : 1公证处,0运营
  101. */
  102. public String getDepttype() {
  103. return depttype;
  104. }
  105. /**
  106. * 设置机构类型 : 1公证处,0运营
  107. *
  108. * @param depttype 机构类型 : 1公证处,0运营
  109. */
  110. public void setDepttype(String depttype) {
  111. this.depttype = depttype == null ? null : depttype.trim();
  112. }
  113. /**
  114. * 获取联系人
  115. *
  116. * @return deptconn - 联系人
  117. */
  118. public String getDeptconn() {
  119. return deptconn;
  120. }
  121. /**
  122. * 设置联系人
  123. *
  124. * @param deptconn 联系人
  125. */
  126. public void setDeptconn(String deptconn) {
  127. this.deptconn = deptconn == null ? null : deptconn.trim();
  128. }
  129. /**
  130. * 获取地址
  131. *
  132. * @return deptaddr - 地址
  133. */
  134. public String getDeptaddr() {
  135. return deptaddr;
  136. }
  137. /**
  138. * 设置地址
  139. *
  140. * @param deptaddr 地址
  141. */
  142. public void setDeptaddr(String deptaddr) {
  143. this.deptaddr = deptaddr == null ? null : deptaddr.trim();
  144. }
  145. /**
  146. * 获取电话
  147. *
  148. * @return depttell - 电话
  149. */
  150. public String getDepttell() {
  151. return depttell;
  152. }
  153. /**
  154. * 设置电话
  155. *
  156. * @param depttell 电话
  157. */
  158. public void setDepttell(String depttell) {
  159. this.depttell = depttell == null ? null : depttell.trim();
  160. }
  161. /**
  162. * 获取备注 : 备注
  163. *
  164. * @return remarks - 备注 : 备注
  165. */
  166. public String getRemarks() {
  167. return remarks;
  168. }
  169. /**
  170. * 设置备注 : 备注
  171. *
  172. * @param remarks 备注 : 备注
  173. */
  174. public void setRemarks(String remarks) {
  175. this.remarks = remarks == null ? null : remarks.trim();
  176. }
  177. /**
  178. * 获取是否允许删除
  179. *
  180. * @return enabledel - 是否允许删除
  181. */
  182. public String getEnabledel() {
  183. return enabledel;
  184. }
  185. /**
  186. * 设置是否允许删除
  187. *
  188. * @param enabledel 是否允许删除
  189. */
  190. public void setEnabledel(String enabledel) {
  191. this.enabledel = enabledel == null ? null : enabledel.trim();
  192. }
  193. /**
  194. * 获取特殊功能
  195. *
  196. * @return deptfunc - 特殊功能
  197. */
  198. public String getDeptfunc() {
  199. return deptfunc;
  200. }
  201. /**
  202. * 设置特殊功能
  203. *
  204. * @param deptfunc 特殊功能
  205. */
  206. public void setDeptfunc(String deptfunc) {
  207. this.deptfunc = deptfunc == null ? null : deptfunc.trim();
  208. }
  209. }