ProjectSizeBo.java 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436
  1. package com.goafanti.admin.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 ProjectSizeBo {
  7. /**
  8. *
  9. * This field was generated by MyBatis Generator.
  10. * This field corresponds to the database column project_size.id
  11. *
  12. * @mbg.generated Mon Dec 04 09:52:04 CST 2017
  13. */
  14. private String id;
  15. /**
  16. *
  17. * This field was generated by MyBatis Generator.
  18. * This field corresponds to the database column project_size.create_id
  19. *
  20. * @mbg.generated Mon Dec 04 09:52:04 CST 2017
  21. */
  22. private String createId;
  23. /**
  24. *
  25. * This field was generated by MyBatis Generator.
  26. * This field corresponds to the database column project_size.create_time
  27. *
  28. * @mbg.generated Mon Dec 04 09:52:04 CST 2017
  29. */
  30. private Date createTime;
  31. /**
  32. *
  33. * This field was generated by MyBatis Generator.
  34. * This field corresponds to the database column project_size.update_time
  35. *
  36. * @mbg.generated Mon Dec 04 09:52:04 CST 2017
  37. */
  38. private Date updateTime;
  39. /**
  40. *
  41. * This field was generated by MyBatis Generator.
  42. * This field corresponds to the database column project_size.pid
  43. *
  44. * @mbg.generated Mon Dec 04 09:52:04 CST 2017
  45. */
  46. private String pid;
  47. /**
  48. *
  49. * This field was generated by MyBatis Generator.
  50. * This field corresponds to the database column project_size.pname
  51. *
  52. * @mbg.generated Mon Dec 04 09:52:04 CST 2017
  53. */
  54. private String pname;
  55. /**
  56. *
  57. * This field was generated by MyBatis Generator.
  58. * This field corresponds to the database column project_size.price
  59. *
  60. * @mbg.generated Mon Dec 04 09:52:04 CST 2017
  61. */
  62. private BigDecimal price;
  63. /**
  64. *
  65. * This field was generated by MyBatis Generator.
  66. * This field corresponds to the database column project_size.offset
  67. *
  68. * @mbg.generated Mon Dec 04 09:52:04 CST 2017
  69. */
  70. private BigDecimal offset;
  71. /**
  72. *
  73. * This field was generated by MyBatis Generator.
  74. * This field corresponds to the database column project_size.activity_price
  75. *
  76. * @mbg.generated Mon Dec 04 09:52:04 CST 2017
  77. */
  78. private BigDecimal activityPrice;
  79. /**
  80. *
  81. * This field was generated by MyBatis Generator.
  82. * This field corresponds to the database column project_size.activity_flag
  83. *
  84. * @mbg.generated Mon Dec 04 09:52:04 CST 2017
  85. */
  86. private String activityFlag;
  87. /**
  88. *
  89. * This field was generated by MyBatis Generator.
  90. * This field corresponds to the database column project_size.member_price
  91. *
  92. * @mbg.generated Mon Dec 04 09:52:04 CST 2017
  93. */
  94. private BigDecimal memberPrice;
  95. /**
  96. *
  97. * This field was generated by MyBatis Generator.
  98. * This field corresponds to the database column project_size.status
  99. *
  100. * @mbg.generated Mon Dec 04 09:52:04 CST 2017
  101. */
  102. private Integer status;
  103. /**
  104. * 项目名称
  105. */
  106. private String bname;
  107. /**
  108. * This method was generated by MyBatis Generator.
  109. * This method returns the value of the database column project_size.id
  110. *
  111. * @return the value of project_size.id
  112. *
  113. * @mbg.generated Mon Dec 04 09:52:04 CST 2017
  114. */
  115. public String getId() {
  116. return id;
  117. }
  118. /**
  119. * This method was generated by MyBatis Generator.
  120. * This method sets the value of the database column project_size.id
  121. *
  122. * @param id the value for project_size.id
  123. *
  124. * @mbg.generated Mon Dec 04 09:52:04 CST 2017
  125. */
  126. public void setId(String id) {
  127. this.id = id;
  128. }
  129. /**
  130. * This method was generated by MyBatis Generator.
  131. * This method returns the value of the database column project_size.create_id
  132. *
  133. * @return the value of project_size.create_id
  134. *
  135. * @mbg.generated Mon Dec 04 09:52:04 CST 2017
  136. */
  137. public String getCreateId() {
  138. return createId;
  139. }
  140. /**
  141. * This method was generated by MyBatis Generator.
  142. * This method sets the value of the database column project_size.create_id
  143. *
  144. * @param createId the value for project_size.create_id
  145. *
  146. * @mbg.generated Mon Dec 04 09:52:04 CST 2017
  147. */
  148. public void setCreateId(String createId) {
  149. this.createId = createId;
  150. }
  151. /**
  152. * This method was generated by MyBatis Generator.
  153. * This method returns the value of the database column project_size.create_time
  154. *
  155. * @return the value of project_size.create_time
  156. *
  157. * @mbg.generated Mon Dec 04 09:52:04 CST 2017
  158. */
  159. public Date getCreateTime() {
  160. return createTime;
  161. }
  162. public String getCreateTimeFormattedDate() {
  163. if (this.createTime == null) {
  164. return null;
  165. } else {
  166. return DateFormatUtils.format(this.getCreateTime(), AFTConstants.YYYYMMDDHHMMSS);
  167. }
  168. }
  169. /**
  170. * This method was generated by MyBatis Generator.
  171. * This method sets the value of the database column project_size.create_time
  172. *
  173. * @param createTime the value for project_size.create_time
  174. *
  175. * @mbg.generated Mon Dec 04 09:52:04 CST 2017
  176. */
  177. public void setCreateTime(Date createTime) {
  178. this.createTime = createTime;
  179. }
  180. /**
  181. * This method was generated by MyBatis Generator.
  182. * This method returns the value of the database column project_size.update_time
  183. *
  184. * @return the value of project_size.update_time
  185. *
  186. * @mbg.generated Mon Dec 04 09:52:04 CST 2017
  187. */
  188. public Date getUpdateTime() {
  189. return updateTime;
  190. }
  191. public String getUpdateTimeFormattedDate() {
  192. if (this.updateTime == null) {
  193. return null;
  194. } else {
  195. return DateFormatUtils.format(this.getCreateTime(), AFTConstants.YYYYMMDDHHMMSS);
  196. }
  197. }
  198. /**
  199. * This method was generated by MyBatis Generator.
  200. * This method sets the value of the database column project_size.update_time
  201. *
  202. * @param updateTime the value for project_size.update_time
  203. *
  204. * @mbg.generated Mon Dec 04 09:52:04 CST 2017
  205. */
  206. public void setUpdateTime(Date updateTime) {
  207. this.updateTime = updateTime;
  208. }
  209. /**
  210. * This method was generated by MyBatis Generator.
  211. * This method returns the value of the database column project_size.pid
  212. *
  213. * @return the value of project_size.pid
  214. *
  215. * @mbg.generated Mon Dec 04 09:52:04 CST 2017
  216. */
  217. public String getPid() {
  218. return pid;
  219. }
  220. /**
  221. * This method was generated by MyBatis Generator.
  222. * This method sets the value of the database column project_size.pid
  223. *
  224. * @param pid the value for project_size.pid
  225. *
  226. * @mbg.generated Mon Dec 04 09:52:04 CST 2017
  227. */
  228. public void setPid(String pid) {
  229. this.pid = pid;
  230. }
  231. /**
  232. * This method was generated by MyBatis Generator.
  233. * This method returns the value of the database column project_size.pname
  234. *
  235. * @return the value of project_size.pname
  236. *
  237. * @mbg.generated Mon Dec 04 09:52:04 CST 2017
  238. */
  239. public String getPname() {
  240. return pname;
  241. }
  242. /**
  243. * This method was generated by MyBatis Generator.
  244. * This method sets the value of the database column project_size.pname
  245. *
  246. * @param pname the value for project_size.pname
  247. *
  248. * @mbg.generated Mon Dec 04 09:52:04 CST 2017
  249. */
  250. public void setPname(String pname) {
  251. this.pname = pname;
  252. }
  253. /**
  254. * This method was generated by MyBatis Generator.
  255. * This method returns the value of the database column project_size.price
  256. *
  257. * @return the value of project_size.price
  258. *
  259. * @mbg.generated Mon Dec 04 09:52:04 CST 2017
  260. */
  261. public BigDecimal getPrice() {
  262. return price;
  263. }
  264. /**
  265. * This method was generated by MyBatis Generator.
  266. * This method sets the value of the database column project_size.price
  267. *
  268. * @param price the value for project_size.price
  269. *
  270. * @mbg.generated Mon Dec 04 09:52:04 CST 2017
  271. */
  272. public void setPrice(BigDecimal price) {
  273. this.price = price;
  274. }
  275. /**
  276. * This method was generated by MyBatis Generator.
  277. * This method returns the value of the database column project_size.offset
  278. *
  279. * @return the value of project_size.offset
  280. *
  281. * @mbg.generated Mon Dec 04 09:52:04 CST 2017
  282. */
  283. public BigDecimal getOffset() {
  284. return offset;
  285. }
  286. /**
  287. * This method was generated by MyBatis Generator.
  288. * This method sets the value of the database column project_size.offset
  289. *
  290. * @param offset the value for project_size.offset
  291. *
  292. * @mbg.generated Mon Dec 04 09:52:04 CST 2017
  293. */
  294. public void setOffset(BigDecimal offset) {
  295. this.offset = offset;
  296. }
  297. /**
  298. * This method was generated by MyBatis Generator.
  299. * This method returns the value of the database column project_size.activity_price
  300. *
  301. * @return the value of project_size.activity_price
  302. *
  303. * @mbg.generated Mon Dec 04 09:52:04 CST 2017
  304. */
  305. public BigDecimal getActivityPrice() {
  306. return activityPrice;
  307. }
  308. /**
  309. * This method was generated by MyBatis Generator.
  310. * This method sets the value of the database column project_size.activity_price
  311. *
  312. * @param activityPrice the value for project_size.activity_price
  313. *
  314. * @mbg.generated Mon Dec 04 09:52:04 CST 2017
  315. */
  316. public void setActivityPrice(BigDecimal activityPrice) {
  317. this.activityPrice = activityPrice;
  318. }
  319. /**
  320. * This method was generated by MyBatis Generator.
  321. * This method returns the value of the database column project_size.activity_flag
  322. *
  323. * @return the value of project_size.activity_flag
  324. *
  325. * @mbg.generated Mon Dec 04 09:52:04 CST 2017
  326. */
  327. public String getActivityFlag() {
  328. return activityFlag;
  329. }
  330. /**
  331. * This method was generated by MyBatis Generator.
  332. * This method sets the value of the database column project_size.activity_flag
  333. *
  334. * @param activityFlag the value for project_size.activity_flag
  335. *
  336. * @mbg.generated Mon Dec 04 09:52:04 CST 2017
  337. */
  338. public void setActivityFlag(String activityFlag) {
  339. this.activityFlag = activityFlag;
  340. }
  341. /**
  342. * This method was generated by MyBatis Generator.
  343. * This method returns the value of the database column project_size.member_price
  344. *
  345. * @return the value of project_size.member_price
  346. *
  347. * @mbg.generated Mon Dec 04 09:52:04 CST 2017
  348. */
  349. public BigDecimal getMemberPrice() {
  350. return memberPrice;
  351. }
  352. /**
  353. * This method was generated by MyBatis Generator.
  354. * This method sets the value of the database column project_size.member_price
  355. *
  356. * @param memberPrice the value for project_size.member_price
  357. *
  358. * @mbg.generated Mon Dec 04 09:52:04 CST 2017
  359. */
  360. public void setMemberPrice(BigDecimal memberPrice) {
  361. this.memberPrice = memberPrice;
  362. }
  363. /**
  364. * This method was generated by MyBatis Generator.
  365. * This method returns the value of the database column project_size.status
  366. *
  367. * @return the value of project_size.status
  368. *
  369. * @mbg.generated Mon Dec 04 09:52:04 CST 2017
  370. */
  371. public Integer getStatus() {
  372. return status;
  373. }
  374. /**
  375. * This method was generated by MyBatis Generator.
  376. * This method sets the value of the database column project_size.status
  377. *
  378. * @param status the value for project_size.status
  379. *
  380. * @mbg.generated Mon Dec 04 09:52:04 CST 2017
  381. */
  382. public void setStatus(Integer status) {
  383. this.status = status;
  384. }
  385. public String getBname() {
  386. return bname;
  387. }
  388. public void setBname(String bname) {
  389. this.bname = bname;
  390. }
  391. }