BusinessProject.java 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494
  1. package com.goafanti.common.model;
  2. import java.io.Serializable;
  3. import java.math.BigDecimal;
  4. import java.util.Date;
  5. /**
  6. * business_project
  7. * @author
  8. */
  9. public class BusinessProject implements Serializable {
  10. /**
  11. * 业务项目ID
  12. */
  13. private String id;
  14. /**
  15. * 创建人
  16. */
  17. private String createId;
  18. /**
  19. * 创建时间
  20. */
  21. private Date createTime;
  22. /**
  23. * 更新时间
  24. */
  25. private Date updateTime;
  26. /**
  27. * 删除标识
  28. */
  29. private Integer deleteSign;
  30. /**
  31. * 业务名称
  32. */
  33. private String bname;
  34. /**
  35. * 业务分类
  36. */
  37. private String cid;
  38. /**
  39. * 市场价
  40. */
  41. private BigDecimal price;
  42. /**
  43. * 最低折扣
  44. */
  45. private BigDecimal offset;
  46. /**
  47. * 活动价
  48. */
  49. private BigDecimal activityPrice;
  50. /**
  51. * 活动价生效标识
  52. */
  53. private String activityFlag;
  54. /**
  55. * 会员价
  56. */
  57. private BigDecimal memberPrice;
  58. /**
  59. * 业务项目介绍
  60. */
  61. private String introduce;
  62. /**
  63. * 业务项目状态
  64. */
  65. private String status;
  66. /**
  67. * 是否全国
  68. */
  69. private String country;
  70. /**
  71. * 业务地区-省
  72. */
  73. private String province;
  74. /**
  75. * 业务地区-市
  76. */
  77. private String city;
  78. /**
  79. * 业务地区-区
  80. */
  81. private String district;
  82. /**
  83. * 业务负责人ID
  84. */
  85. private String principalId;
  86. /**
  87. * 价值及作用
  88. */
  89. private String valueEffect;
  90. /**
  91. * 客户基本条件
  92. */
  93. private String clientSize;
  94. /**
  95. * 业务项目图标35*35
  96. */
  97. private String minLogo;
  98. /**
  99. * 业务项目图标200*200
  100. */
  101. private String maxLogo;
  102. /**
  103. * 项目地址
  104. */
  105. private String projectUrl;
  106. /**
  107. * 是否精品 0-否,1-是
  108. */
  109. private Integer boutique;
  110. /**
  111. * 首付金额
  112. */
  113. private BigDecimal firstPayment;
  114. /**
  115. * 0 正常 1专利 2软著 3审计 4双软 5高新 6商标 7会员
  116. */
  117. private Integer type;
  118. /**
  119. * 专利转让 0否1是
  120. */
  121. private Integer patentTransfer;
  122. private static final long serialVersionUID = 1L;
  123. public String getId() {
  124. return id;
  125. }
  126. public void setId(String id) {
  127. this.id = id;
  128. }
  129. public String getCreateId() {
  130. return createId;
  131. }
  132. public void setCreateId(String createId) {
  133. this.createId = createId;
  134. }
  135. public Date getCreateTime() {
  136. return createTime;
  137. }
  138. public void setCreateTime(Date createTime) {
  139. this.createTime = createTime;
  140. }
  141. public Date getUpdateTime() {
  142. return updateTime;
  143. }
  144. public void setUpdateTime(Date updateTime) {
  145. this.updateTime = updateTime;
  146. }
  147. public Integer getDeleteSign() {
  148. return deleteSign;
  149. }
  150. public void setDeleteSign(Integer deleteSign) {
  151. this.deleteSign = deleteSign;
  152. }
  153. public String getBname() {
  154. return bname;
  155. }
  156. public void setBname(String bname) {
  157. this.bname = bname;
  158. }
  159. public String getCid() {
  160. return cid;
  161. }
  162. public void setCid(String cid) {
  163. this.cid = cid;
  164. }
  165. public BigDecimal getPrice() {
  166. return price;
  167. }
  168. public void setPrice(BigDecimal price) {
  169. this.price = price;
  170. }
  171. public BigDecimal getOffset() {
  172. return offset;
  173. }
  174. public void setOffset(BigDecimal offset) {
  175. this.offset = offset;
  176. }
  177. public BigDecimal getActivityPrice() {
  178. return activityPrice;
  179. }
  180. public void setActivityPrice(BigDecimal activityPrice) {
  181. this.activityPrice = activityPrice;
  182. }
  183. public String getActivityFlag() {
  184. return activityFlag;
  185. }
  186. public void setActivityFlag(String activityFlag) {
  187. this.activityFlag = activityFlag;
  188. }
  189. public BigDecimal getMemberPrice() {
  190. return memberPrice;
  191. }
  192. public void setMemberPrice(BigDecimal memberPrice) {
  193. this.memberPrice = memberPrice;
  194. }
  195. public String getIntroduce() {
  196. return introduce;
  197. }
  198. public void setIntroduce(String introduce) {
  199. this.introduce = introduce;
  200. }
  201. public String getStatus() {
  202. return status;
  203. }
  204. public void setStatus(String status) {
  205. this.status = status;
  206. }
  207. public String getCountry() {
  208. return country;
  209. }
  210. public void setCountry(String country) {
  211. this.country = country;
  212. }
  213. public String getProvince() {
  214. return province;
  215. }
  216. public void setProvince(String province) {
  217. this.province = province;
  218. }
  219. public String getCity() {
  220. return city;
  221. }
  222. public void setCity(String city) {
  223. this.city = city;
  224. }
  225. public String getDistrict() {
  226. return district;
  227. }
  228. public void setDistrict(String district) {
  229. this.district = district;
  230. }
  231. public String getPrincipalId() {
  232. return principalId;
  233. }
  234. public void setPrincipalId(String principalId) {
  235. this.principalId = principalId;
  236. }
  237. public String getValueEffect() {
  238. return valueEffect;
  239. }
  240. public void setValueEffect(String valueEffect) {
  241. this.valueEffect = valueEffect;
  242. }
  243. public String getClientSize() {
  244. return clientSize;
  245. }
  246. public void setClientSize(String clientSize) {
  247. this.clientSize = clientSize;
  248. }
  249. public String getMinLogo() {
  250. return minLogo;
  251. }
  252. public void setMinLogo(String minLogo) {
  253. this.minLogo = minLogo;
  254. }
  255. public String getMaxLogo() {
  256. return maxLogo;
  257. }
  258. public void setMaxLogo(String maxLogo) {
  259. this.maxLogo = maxLogo;
  260. }
  261. public String getProjectUrl() {
  262. return projectUrl;
  263. }
  264. public void setProjectUrl(String projectUrl) {
  265. this.projectUrl = projectUrl;
  266. }
  267. public Integer getBoutique() {
  268. return boutique;
  269. }
  270. public void setBoutique(Integer boutique) {
  271. this.boutique = boutique;
  272. }
  273. public BigDecimal getFirstPayment() {
  274. return firstPayment;
  275. }
  276. public void setFirstPayment(BigDecimal firstPayment) {
  277. this.firstPayment = firstPayment;
  278. }
  279. public Integer getType() {
  280. return type;
  281. }
  282. public void setType(Integer type) {
  283. this.type = type;
  284. }
  285. public Integer getPatentTransfer() {
  286. return patentTransfer;
  287. }
  288. public void setPatentTransfer(Integer patentTransfer) {
  289. this.patentTransfer = patentTransfer;
  290. }
  291. @Override
  292. public boolean equals(Object that) {
  293. if (this == that) {
  294. return true;
  295. }
  296. if (that == null) {
  297. return false;
  298. }
  299. if (getClass() != that.getClass()) {
  300. return false;
  301. }
  302. BusinessProject other = (BusinessProject) that;
  303. return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
  304. && (this.getCreateId() == null ? other.getCreateId() == null : this.getCreateId().equals(other.getCreateId()))
  305. && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
  306. && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
  307. && (this.getDeleteSign() == null ? other.getDeleteSign() == null : this.getDeleteSign().equals(other.getDeleteSign()))
  308. && (this.getBname() == null ? other.getBname() == null : this.getBname().equals(other.getBname()))
  309. && (this.getCid() == null ? other.getCid() == null : this.getCid().equals(other.getCid()))
  310. && (this.getPrice() == null ? other.getPrice() == null : this.getPrice().equals(other.getPrice()))
  311. && (this.getOffset() == null ? other.getOffset() == null : this.getOffset().equals(other.getOffset()))
  312. && (this.getActivityPrice() == null ? other.getActivityPrice() == null : this.getActivityPrice().equals(other.getActivityPrice()))
  313. && (this.getActivityFlag() == null ? other.getActivityFlag() == null : this.getActivityFlag().equals(other.getActivityFlag()))
  314. && (this.getMemberPrice() == null ? other.getMemberPrice() == null : this.getMemberPrice().equals(other.getMemberPrice()))
  315. && (this.getIntroduce() == null ? other.getIntroduce() == null : this.getIntroduce().equals(other.getIntroduce()))
  316. && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
  317. && (this.getCountry() == null ? other.getCountry() == null : this.getCountry().equals(other.getCountry()))
  318. && (this.getProvince() == null ? other.getProvince() == null : this.getProvince().equals(other.getProvince()))
  319. && (this.getCity() == null ? other.getCity() == null : this.getCity().equals(other.getCity()))
  320. && (this.getDistrict() == null ? other.getDistrict() == null : this.getDistrict().equals(other.getDistrict()))
  321. && (this.getPrincipalId() == null ? other.getPrincipalId() == null : this.getPrincipalId().equals(other.getPrincipalId()))
  322. && (this.getValueEffect() == null ? other.getValueEffect() == null : this.getValueEffect().equals(other.getValueEffect()))
  323. && (this.getClientSize() == null ? other.getClientSize() == null : this.getClientSize().equals(other.getClientSize()))
  324. && (this.getMinLogo() == null ? other.getMinLogo() == null : this.getMinLogo().equals(other.getMinLogo()))
  325. && (this.getMaxLogo() == null ? other.getMaxLogo() == null : this.getMaxLogo().equals(other.getMaxLogo()))
  326. && (this.getProjectUrl() == null ? other.getProjectUrl() == null : this.getProjectUrl().equals(other.getProjectUrl()))
  327. && (this.getBoutique() == null ? other.getBoutique() == null : this.getBoutique().equals(other.getBoutique()))
  328. && (this.getFirstPayment() == null ? other.getFirstPayment() == null : this.getFirstPayment().equals(other.getFirstPayment()))
  329. && (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
  330. && (this.getPatentTransfer() == null ? other.getPatentTransfer() == null : this.getPatentTransfer().equals(other.getPatentTransfer()));
  331. }
  332. @Override
  333. public int hashCode() {
  334. final int prime = 31;
  335. int result = 1;
  336. result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
  337. result = prime * result + ((getCreateId() == null) ? 0 : getCreateId().hashCode());
  338. result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
  339. result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
  340. result = prime * result + ((getDeleteSign() == null) ? 0 : getDeleteSign().hashCode());
  341. result = prime * result + ((getBname() == null) ? 0 : getBname().hashCode());
  342. result = prime * result + ((getCid() == null) ? 0 : getCid().hashCode());
  343. result = prime * result + ((getPrice() == null) ? 0 : getPrice().hashCode());
  344. result = prime * result + ((getOffset() == null) ? 0 : getOffset().hashCode());
  345. result = prime * result + ((getActivityPrice() == null) ? 0 : getActivityPrice().hashCode());
  346. result = prime * result + ((getActivityFlag() == null) ? 0 : getActivityFlag().hashCode());
  347. result = prime * result + ((getMemberPrice() == null) ? 0 : getMemberPrice().hashCode());
  348. result = prime * result + ((getIntroduce() == null) ? 0 : getIntroduce().hashCode());
  349. result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
  350. result = prime * result + ((getCountry() == null) ? 0 : getCountry().hashCode());
  351. result = prime * result + ((getProvince() == null) ? 0 : getProvince().hashCode());
  352. result = prime * result + ((getCity() == null) ? 0 : getCity().hashCode());
  353. result = prime * result + ((getDistrict() == null) ? 0 : getDistrict().hashCode());
  354. result = prime * result + ((getPrincipalId() == null) ? 0 : getPrincipalId().hashCode());
  355. result = prime * result + ((getValueEffect() == null) ? 0 : getValueEffect().hashCode());
  356. result = prime * result + ((getClientSize() == null) ? 0 : getClientSize().hashCode());
  357. result = prime * result + ((getMinLogo() == null) ? 0 : getMinLogo().hashCode());
  358. result = prime * result + ((getMaxLogo() == null) ? 0 : getMaxLogo().hashCode());
  359. result = prime * result + ((getProjectUrl() == null) ? 0 : getProjectUrl().hashCode());
  360. result = prime * result + ((getBoutique() == null) ? 0 : getBoutique().hashCode());
  361. result = prime * result + ((getFirstPayment() == null) ? 0 : getFirstPayment().hashCode());
  362. result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
  363. result = prime * result + ((getPatentTransfer() == null) ? 0 : getPatentTransfer().hashCode());
  364. return result;
  365. }
  366. @Override
  367. public String toString() {
  368. StringBuilder sb = new StringBuilder();
  369. sb.append(getClass().getSimpleName());
  370. sb.append(" [");
  371. sb.append("Hash = ").append(hashCode());
  372. sb.append(", id=").append(id);
  373. sb.append(", createId=").append(createId);
  374. sb.append(", createTime=").append(createTime);
  375. sb.append(", updateTime=").append(updateTime);
  376. sb.append(", deleteSign=").append(deleteSign);
  377. sb.append(", bname=").append(bname);
  378. sb.append(", cid=").append(cid);
  379. sb.append(", price=").append(price);
  380. sb.append(", offset=").append(offset);
  381. sb.append(", activityPrice=").append(activityPrice);
  382. sb.append(", activityFlag=").append(activityFlag);
  383. sb.append(", memberPrice=").append(memberPrice);
  384. sb.append(", introduce=").append(introduce);
  385. sb.append(", status=").append(status);
  386. sb.append(", country=").append(country);
  387. sb.append(", province=").append(province);
  388. sb.append(", city=").append(city);
  389. sb.append(", district=").append(district);
  390. sb.append(", principalId=").append(principalId);
  391. sb.append(", valueEffect=").append(valueEffect);
  392. sb.append(", clientSize=").append(clientSize);
  393. sb.append(", minLogo=").append(minLogo);
  394. sb.append(", maxLogo=").append(maxLogo);
  395. sb.append(", projectUrl=").append(projectUrl);
  396. sb.append(", boutique=").append(boutique);
  397. sb.append(", firstPayment=").append(firstPayment);
  398. sb.append(", type=").append(type);
  399. sb.append(", patentTransfer=").append(patentTransfer);
  400. sb.append(", serialVersionUID=").append(serialVersionUID);
  401. sb.append("]");
  402. return sb.toString();
  403. }
  404. }