BusinessProjectBo.java 22 KB

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