OrganizationContactBook.java 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316
  1. package com.goafanti.common.model;
  2. public class OrganizationContactBook {
  3. /**
  4. * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.id
  5. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  6. */
  7. private String id;
  8. /**
  9. * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.uid
  10. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  11. */
  12. private String uid;
  13. /**
  14. * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.name
  15. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  16. */
  17. private String name;
  18. /**
  19. * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.sex
  20. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  21. */
  22. private String sex;
  23. /**
  24. * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.mobile
  25. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  26. */
  27. private String mobile;
  28. /**
  29. * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.email
  30. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  31. */
  32. private String email;
  33. /**
  34. * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.qq
  35. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  36. */
  37. private String qq;
  38. /**
  39. * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.wechat
  40. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  41. */
  42. private String wechat;
  43. /**
  44. * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.depatrment
  45. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  46. */
  47. private String depatrment;
  48. /**
  49. * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.position
  50. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  51. */
  52. private String position;
  53. /**
  54. * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.tel_num
  55. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  56. */
  57. private String telNum;
  58. /**
  59. * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.major
  60. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  61. */
  62. private Integer major;
  63. /**
  64. * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.aid
  65. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  66. */
  67. private String aid;
  68. /**
  69. * This method was generated by MyBatis Generator. This method returns the value of the database column organization_contact_book.id
  70. * @return the value of organization_contact_book.id
  71. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  72. */
  73. public String getId() {
  74. return id;
  75. }
  76. /**
  77. * This method was generated by MyBatis Generator. This method sets the value of the database column organization_contact_book.id
  78. * @param id the value for organization_contact_book.id
  79. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  80. */
  81. public void setId(String id) {
  82. this.id = id;
  83. }
  84. /**
  85. * This method was generated by MyBatis Generator. This method returns the value of the database column organization_contact_book.uid
  86. * @return the value of organization_contact_book.uid
  87. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  88. */
  89. public String getUid() {
  90. return uid;
  91. }
  92. /**
  93. * This method was generated by MyBatis Generator. This method sets the value of the database column organization_contact_book.uid
  94. * @param uid the value for organization_contact_book.uid
  95. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  96. */
  97. public void setUid(String uid) {
  98. this.uid = uid;
  99. }
  100. /**
  101. * This method was generated by MyBatis Generator. This method returns the value of the database column organization_contact_book.name
  102. * @return the value of organization_contact_book.name
  103. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  104. */
  105. public String getName() {
  106. return name;
  107. }
  108. /**
  109. * This method was generated by MyBatis Generator. This method sets the value of the database column organization_contact_book.name
  110. * @param name the value for organization_contact_book.name
  111. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  112. */
  113. public void setName(String name) {
  114. this.name = name;
  115. }
  116. /**
  117. * This method was generated by MyBatis Generator. This method returns the value of the database column organization_contact_book.sex
  118. * @return the value of organization_contact_book.sex
  119. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  120. */
  121. public String getSex() {
  122. return sex;
  123. }
  124. /**
  125. * This method was generated by MyBatis Generator. This method sets the value of the database column organization_contact_book.sex
  126. * @param sex the value for organization_contact_book.sex
  127. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  128. */
  129. public void setSex(String sex) {
  130. this.sex = sex;
  131. }
  132. /**
  133. * This method was generated by MyBatis Generator. This method returns the value of the database column organization_contact_book.mobile
  134. * @return the value of organization_contact_book.mobile
  135. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  136. */
  137. public String getMobile() {
  138. return mobile;
  139. }
  140. /**
  141. * This method was generated by MyBatis Generator. This method sets the value of the database column organization_contact_book.mobile
  142. * @param mobile the value for organization_contact_book.mobile
  143. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  144. */
  145. public void setMobile(String mobile) {
  146. this.mobile = mobile;
  147. }
  148. /**
  149. * This method was generated by MyBatis Generator. This method returns the value of the database column organization_contact_book.email
  150. * @return the value of organization_contact_book.email
  151. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  152. */
  153. public String getEmail() {
  154. return email;
  155. }
  156. /**
  157. * This method was generated by MyBatis Generator. This method sets the value of the database column organization_contact_book.email
  158. * @param email the value for organization_contact_book.email
  159. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  160. */
  161. public void setEmail(String email) {
  162. this.email = email;
  163. }
  164. /**
  165. * This method was generated by MyBatis Generator. This method returns the value of the database column organization_contact_book.qq
  166. * @return the value of organization_contact_book.qq
  167. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  168. */
  169. public String getQq() {
  170. return qq;
  171. }
  172. /**
  173. * This method was generated by MyBatis Generator. This method sets the value of the database column organization_contact_book.qq
  174. * @param qq the value for organization_contact_book.qq
  175. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  176. */
  177. public void setQq(String qq) {
  178. this.qq = qq;
  179. }
  180. /**
  181. * This method was generated by MyBatis Generator. This method returns the value of the database column organization_contact_book.wechat
  182. * @return the value of organization_contact_book.wechat
  183. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  184. */
  185. public String getWechat() {
  186. return wechat;
  187. }
  188. /**
  189. * This method was generated by MyBatis Generator. This method sets the value of the database column organization_contact_book.wechat
  190. * @param wechat the value for organization_contact_book.wechat
  191. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  192. */
  193. public void setWechat(String wechat) {
  194. this.wechat = wechat;
  195. }
  196. /**
  197. * This method was generated by MyBatis Generator. This method returns the value of the database column organization_contact_book.depatrment
  198. * @return the value of organization_contact_book.depatrment
  199. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  200. */
  201. public String getDepatrment() {
  202. return depatrment;
  203. }
  204. /**
  205. * This method was generated by MyBatis Generator. This method sets the value of the database column organization_contact_book.depatrment
  206. * @param depatrment the value for organization_contact_book.depatrment
  207. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  208. */
  209. public void setDepatrment(String depatrment) {
  210. this.depatrment = depatrment;
  211. }
  212. /**
  213. * This method was generated by MyBatis Generator. This method returns the value of the database column organization_contact_book.position
  214. * @return the value of organization_contact_book.position
  215. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  216. */
  217. public String getPosition() {
  218. return position;
  219. }
  220. /**
  221. * This method was generated by MyBatis Generator. This method sets the value of the database column organization_contact_book.position
  222. * @param position the value for organization_contact_book.position
  223. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  224. */
  225. public void setPosition(String position) {
  226. this.position = position;
  227. }
  228. /**
  229. * This method was generated by MyBatis Generator. This method returns the value of the database column organization_contact_book.tel_num
  230. * @return the value of organization_contact_book.tel_num
  231. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  232. */
  233. public String getTelNum() {
  234. return telNum;
  235. }
  236. /**
  237. * This method was generated by MyBatis Generator. This method sets the value of the database column organization_contact_book.tel_num
  238. * @param telNum the value for organization_contact_book.tel_num
  239. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  240. */
  241. public void setTelNum(String telNum) {
  242. this.telNum = telNum;
  243. }
  244. /**
  245. * This method was generated by MyBatis Generator. This method returns the value of the database column organization_contact_book.major
  246. * @return the value of organization_contact_book.major
  247. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  248. */
  249. public Integer getMajor() {
  250. return major;
  251. }
  252. /**
  253. * This method was generated by MyBatis Generator. This method sets the value of the database column organization_contact_book.major
  254. * @param major the value for organization_contact_book.major
  255. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  256. */
  257. public void setMajor(Integer major) {
  258. this.major = major;
  259. }
  260. /**
  261. * This method was generated by MyBatis Generator. This method returns the value of the database column organization_contact_book.aid
  262. * @return the value of organization_contact_book.aid
  263. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  264. */
  265. public String getAid() {
  266. return aid;
  267. }
  268. /**
  269. * This method was generated by MyBatis Generator. This method sets the value of the database column organization_contact_book.aid
  270. * @param aid the value for organization_contact_book.aid
  271. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  272. */
  273. public void setAid(String aid) {
  274. this.aid = aid;
  275. }
  276. @Override
  277. public boolean equals(Object arg0) {
  278. OrganizationContactBook p = (OrganizationContactBook) arg0;
  279. return name.equals(p.name) && name.equals(p.name);
  280. }
  281. @Override
  282. public int hashCode() {
  283. String str = name + mobile;
  284. return str.hashCode();
  285. }
  286. }