ProjectBo.java 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. package com.goafanti.app.bo;
  2. import com.goafanti.common.utils.StringUtils;
  3. public class ProjectBo {
  4. private String id;
  5. private String minLogoUrl;
  6. private String name;
  7. private String introduce;
  8. private String interestCount;
  9. private String boutique;
  10. private String projectUrl;
  11. public String getId() {
  12. return id;
  13. }
  14. public void setId(String id) {
  15. this.id = id;
  16. }
  17. public String getMinLogoUrl() {
  18. return minLogoUrl;
  19. }
  20. public void setMinLogoUrl(String minLogoUrl) {
  21. this.minLogoUrl = minLogoUrl;
  22. }
  23. public String getName() {
  24. return name;
  25. }
  26. public void setName(String name) {
  27. this.name = name;
  28. }
  29. public String getIntroduce() {
  30. return introduce;
  31. }
  32. public void setIntroduce(String introduce) {
  33. this.introduce = introduce;
  34. }
  35. public String getInterestCount() {
  36. return String.valueOf(Integer.valueOf(interestCount)+20);
  37. }
  38. public void setInterestCount(String interestCount) {
  39. this.interestCount = interestCount;
  40. }
  41. public String getBoutique() {
  42. return boutique;
  43. }
  44. public void setBoutique(String boutique) {
  45. this.boutique = boutique;
  46. }
  47. public String getProjectUrl() {
  48. if (StringUtils.isBlank(projectUrl)) {
  49. return "";
  50. }
  51. return projectUrl;
  52. }
  53. public void setProjectUrl(String projectUrl) {
  54. this.projectUrl = projectUrl;
  55. }
  56. }