BusinessProject.java 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599
  1. package com.goafanti.common.model;
  2. import java.math.BigDecimal;
  3. import java.util.Date;
  4. import com.goafanti.common.utils.StringUtils;
  5. public class BusinessProject {
  6. /**
  7. * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.id
  8. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  9. */
  10. private String id;
  11. /**
  12. * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.create_id
  13. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  14. */
  15. private String createId;
  16. /**
  17. * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.create_time
  18. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  19. */
  20. private Date createTime;
  21. /**
  22. * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.update_time
  23. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  24. */
  25. private Date updateTime;
  26. /**
  27. * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.delete_sign
  28. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  29. */
  30. private Integer deleteSign;
  31. /**
  32. * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.bname
  33. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  34. */
  35. private String bname;
  36. /**
  37. * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.cid
  38. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  39. */
  40. private String cid;
  41. /**
  42. * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.price
  43. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  44. */
  45. private BigDecimal price;
  46. /**
  47. * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.offset
  48. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  49. */
  50. private BigDecimal offset;
  51. /**
  52. * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.activity_price
  53. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  54. */
  55. private BigDecimal activityPrice;
  56. /**
  57. * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.activity_flag
  58. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  59. */
  60. private String activityFlag;
  61. /**
  62. * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.member_price
  63. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  64. */
  65. private BigDecimal memberPrice;
  66. /**
  67. * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.introduce
  68. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  69. */
  70. private String introduce;
  71. /**
  72. * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.status
  73. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  74. */
  75. private String status;
  76. /**
  77. * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.country
  78. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  79. */
  80. private String country;
  81. /**
  82. * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.province
  83. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  84. */
  85. private String province;
  86. /**
  87. * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.city
  88. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  89. */
  90. private String city;
  91. /**
  92. * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.district
  93. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  94. */
  95. private String district;
  96. /**
  97. * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.principal_id
  98. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  99. */
  100. private String principalId;
  101. /**
  102. * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.Value_effect
  103. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  104. */
  105. private String valueEffect;
  106. /**
  107. * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.client_size
  108. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  109. */
  110. private String clientSize;
  111. /**
  112. * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.max_logo
  113. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  114. */
  115. private String maxLogo;
  116. /**
  117. * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.min_logo
  118. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  119. */
  120. private String minLogo;
  121. /**
  122. * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.boutique
  123. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  124. */
  125. private Integer boutique;
  126. /**
  127. * This field was generated by MyBatis Generator. This field corresponds to the database column business_project.project_url
  128. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  129. */
  130. private String projectUrl;
  131. /**
  132. * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.id
  133. * @return the value of business_project.id
  134. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  135. */
  136. public String getId() {
  137. return id;
  138. }
  139. /**
  140. * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.id
  141. * @param id the value for business_project.id
  142. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  143. */
  144. public void setId(String id) {
  145. this.id = id;
  146. }
  147. /**
  148. * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.create_id
  149. * @return the value of business_project.create_id
  150. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  151. */
  152. public String getCreateId() {
  153. return createId;
  154. }
  155. /**
  156. * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.create_id
  157. * @param createId the value for business_project.create_id
  158. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  159. */
  160. public void setCreateId(String createId) {
  161. this.createId = createId;
  162. }
  163. /**
  164. * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.create_time
  165. * @return the value of business_project.create_time
  166. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  167. */
  168. public Date getCreateTime() {
  169. return createTime;
  170. }
  171. /**
  172. * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.create_time
  173. * @param createTime the value for business_project.create_time
  174. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  175. */
  176. public void setCreateTime(Date createTime) {
  177. this.createTime = createTime;
  178. }
  179. /**
  180. * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.update_time
  181. * @return the value of business_project.update_time
  182. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  183. */
  184. public Date getUpdateTime() {
  185. return updateTime;
  186. }
  187. /**
  188. * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.update_time
  189. * @param updateTime the value for business_project.update_time
  190. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  191. */
  192. public void setUpdateTime(Date updateTime) {
  193. this.updateTime = updateTime;
  194. }
  195. /**
  196. * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.delete_sign
  197. * @return the value of business_project.delete_sign
  198. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  199. */
  200. public Integer getDeleteSign() {
  201. return deleteSign;
  202. }
  203. /**
  204. * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.delete_sign
  205. * @param deleteSign the value for business_project.delete_sign
  206. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  207. */
  208. public void setDeleteSign(Integer deleteSign) {
  209. this.deleteSign = deleteSign;
  210. }
  211. /**
  212. * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.bname
  213. * @return the value of business_project.bname
  214. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  215. */
  216. public String getBname() {
  217. return bname;
  218. }
  219. /**
  220. * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.bname
  221. * @param bname the value for business_project.bname
  222. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  223. */
  224. public void setBname(String bname) {
  225. this.bname = bname;
  226. }
  227. /**
  228. * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.cid
  229. * @return the value of business_project.cid
  230. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  231. */
  232. public String getCid() {
  233. return cid;
  234. }
  235. /**
  236. * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.cid
  237. * @param cid the value for business_project.cid
  238. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  239. */
  240. public void setCid(String cid) {
  241. this.cid = cid;
  242. }
  243. /**
  244. * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.price
  245. * @return the value of business_project.price
  246. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  247. */
  248. public BigDecimal getPrice() {
  249. return price;
  250. }
  251. /**
  252. * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.price
  253. * @param price the value for business_project.price
  254. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  255. */
  256. public void setPrice(BigDecimal price) {
  257. this.price = price;
  258. }
  259. /**
  260. * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.offset
  261. * @return the value of business_project.offset
  262. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  263. */
  264. public BigDecimal getOffset() {
  265. return offset;
  266. }
  267. /**
  268. * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.offset
  269. * @param offset the value for business_project.offset
  270. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  271. */
  272. public void setOffset(BigDecimal offset) {
  273. this.offset = offset;
  274. }
  275. /**
  276. * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.activity_price
  277. * @return the value of business_project.activity_price
  278. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  279. */
  280. public BigDecimal getActivityPrice() {
  281. return activityPrice;
  282. }
  283. /**
  284. * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.activity_price
  285. * @param activityPrice the value for business_project.activity_price
  286. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  287. */
  288. public void setActivityPrice(BigDecimal activityPrice) {
  289. this.activityPrice = activityPrice;
  290. }
  291. /**
  292. * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.activity_flag
  293. * @return the value of business_project.activity_flag
  294. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  295. */
  296. public String getActivityFlag() {
  297. return activityFlag;
  298. }
  299. /**
  300. * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.activity_flag
  301. * @param activityFlag the value for business_project.activity_flag
  302. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  303. */
  304. public void setActivityFlag(String activityFlag) {
  305. this.activityFlag = activityFlag;
  306. }
  307. /**
  308. * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.member_price
  309. * @return the value of business_project.member_price
  310. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  311. */
  312. public BigDecimal getMemberPrice() {
  313. return memberPrice;
  314. }
  315. /**
  316. * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.member_price
  317. * @param memberPrice the value for business_project.member_price
  318. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  319. */
  320. public void setMemberPrice(BigDecimal memberPrice) {
  321. this.memberPrice = memberPrice;
  322. }
  323. /**
  324. * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.introduce
  325. * @return the value of business_project.introduce
  326. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  327. */
  328. public String getIntroduce() {
  329. return introduce;
  330. }
  331. /**
  332. * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.introduce
  333. * @param introduce the value for business_project.introduce
  334. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  335. */
  336. public void setIntroduce(String introduce) {
  337. this.introduce = introduce;
  338. }
  339. /**
  340. * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.status
  341. * @return the value of business_project.status
  342. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  343. */
  344. public String getStatus() {
  345. return status;
  346. }
  347. /**
  348. * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.status
  349. * @param status the value for business_project.status
  350. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  351. */
  352. public void setStatus(String status) {
  353. this.status = status;
  354. }
  355. /**
  356. * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.country
  357. * @return the value of business_project.country
  358. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  359. */
  360. public String getCountry() {
  361. return country;
  362. }
  363. /**
  364. * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.country
  365. * @param country the value for business_project.country
  366. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  367. */
  368. public void setCountry(String country) {
  369. this.country = country;
  370. }
  371. /**
  372. * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.province
  373. * @return the value of business_project.province
  374. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  375. */
  376. public String getProvince() {
  377. return province;
  378. }
  379. /**
  380. * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.province
  381. * @param province the value for business_project.province
  382. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  383. */
  384. public void setProvince(String province) {
  385. this.province = province;
  386. }
  387. /**
  388. * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.city
  389. * @return the value of business_project.city
  390. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  391. */
  392. public String getCity() {
  393. return city;
  394. }
  395. /**
  396. * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.city
  397. * @param city the value for business_project.city
  398. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  399. */
  400. public void setCity(String city) {
  401. this.city = city;
  402. }
  403. /**
  404. * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.district
  405. * @return the value of business_project.district
  406. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  407. */
  408. public String getDistrict() {
  409. return district;
  410. }
  411. /**
  412. * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.district
  413. * @param district the value for business_project.district
  414. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  415. */
  416. public void setDistrict(String district) {
  417. this.district = district;
  418. }
  419. /**
  420. * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.principal_id
  421. * @return the value of business_project.principal_id
  422. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  423. */
  424. public String getPrincipalId() {
  425. return principalId;
  426. }
  427. /**
  428. * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.principal_id
  429. * @param principalId the value for business_project.principal_id
  430. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  431. */
  432. public void setPrincipalId(String principalId) {
  433. this.principalId = principalId;
  434. }
  435. /**
  436. * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.Value_effect
  437. * @return the value of business_project.Value_effect
  438. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  439. */
  440. public String getValueEffect() {
  441. return valueEffect;
  442. }
  443. /**
  444. * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.Value_effect
  445. * @param valueEffect the value for business_project.Value_effect
  446. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  447. */
  448. public void setValueEffect(String valueEffect) {
  449. this.valueEffect = valueEffect;
  450. }
  451. /**
  452. * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.client_size
  453. * @return the value of business_project.client_size
  454. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  455. */
  456. public String getClientSize() {
  457. return clientSize;
  458. }
  459. /**
  460. * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.client_size
  461. * @param clientSize the value for business_project.client_size
  462. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  463. */
  464. public void setClientSize(String clientSize) {
  465. this.clientSize = clientSize;
  466. }
  467. /**
  468. * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.max_logo
  469. * @return the value of business_project.max_logo
  470. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  471. */
  472. public String getMaxLogo() {
  473. return maxLogo;
  474. }
  475. /**
  476. * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.max_logo
  477. * @param maxLogo the value for business_project.max_logo
  478. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  479. */
  480. public void setMaxLogo(String maxLogo) {
  481. this.maxLogo = maxLogo;
  482. }
  483. /**
  484. * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.min_logo
  485. * @return the value of business_project.min_logo
  486. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  487. */
  488. public String getMinLogo() {
  489. return minLogo;
  490. }
  491. /**
  492. * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.min_logo
  493. * @param minLogo the value for business_project.min_logo
  494. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  495. */
  496. public void setMinLogo(String minLogo) {
  497. this.minLogo = minLogo;
  498. }
  499. /**
  500. * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.boutique
  501. * @return the value of business_project.boutique
  502. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  503. */
  504. public Integer getBoutique() {
  505. return boutique;
  506. }
  507. /**
  508. * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.boutique
  509. * @param boutique the value for business_project.boutique
  510. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  511. */
  512. public void setBoutique(Integer boutique) {
  513. this.boutique = boutique;
  514. }
  515. /**
  516. * This method was generated by MyBatis Generator. This method returns the value of the database column business_project.project_url
  517. * @return the value of business_project.project_url
  518. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  519. */
  520. public String getProjectUrl() {
  521. if (StringUtils.isAnyBlank(projectUrl)) {
  522. return "";
  523. }
  524. return projectUrl;
  525. }
  526. /**
  527. * This method was generated by MyBatis Generator. This method sets the value of the database column business_project.project_url
  528. * @param projectUrl the value for business_project.project_url
  529. * @mbg.generated Tue Jan 09 15:08:39 CST 2018
  530. */
  531. public void setProjectUrl(String projectUrl) {
  532. this.projectUrl = projectUrl;
  533. }
  534. @Override
  535. public String toString() {
  536. return "BusinessProject [id=" + id + ", createId=" + createId + ", createTime=" + createTime + ", updateTime="
  537. + updateTime + ", deleteSign=" + deleteSign + ", bname=" + bname + ", cid=" + cid + ", price=" + price
  538. + ", offset=" + offset + ", activityPrice=" + activityPrice + ", activityFlag=" + activityFlag
  539. + ", memberPrice=" + memberPrice + ", introduce=" + introduce + ", status=" + status + ", country="
  540. + country + ", province=" + province + ", city=" + city + ", district=" + district + ", principalId="
  541. + principalId + ", valueEffect=" + valueEffect + ", clientSize=" + clientSize + "]";
  542. }
  543. }