ProjectBo.java 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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 maxLogoUrl;
  7. private String name;
  8. private String introduce;
  9. private String interestCount;
  10. private String boutique;
  11. private String projectUrl;
  12. public String getId() {
  13. return id;
  14. }
  15. public void setId(String id) {
  16. this.id = id;
  17. }
  18. public String getMinLogoUrl() {
  19. return minLogoUrl;
  20. }
  21. public void setMinLogoUrl(String minLogoUrl) {
  22. this.minLogoUrl = minLogoUrl;
  23. }
  24. public String getName() {
  25. return name;
  26. }
  27. public void setName(String name) {
  28. this.name = name;
  29. }
  30. public String getIntroduce() {
  31. return introduce;
  32. }
  33. public void setIntroduce(String introduce) {
  34. this.introduce = introduce;
  35. }
  36. public String getInterestCount() {
  37. if (StringUtils.isBlank(interestCount)) {
  38. return "20";
  39. }
  40. return String.valueOf(Integer.valueOf(interestCount)+20);
  41. }
  42. public void setInterestCount(String interestCount) {
  43. this.interestCount = interestCount;
  44. }
  45. public String getBoutique() {
  46. return boutique;
  47. }
  48. public void setBoutique(String boutique) {
  49. this.boutique = boutique;
  50. }
  51. public String getProjectUrl() {
  52. if (StringUtils.isBlank(projectUrl)) {
  53. return "";
  54. }
  55. return projectUrl;
  56. }
  57. public void setProjectUrl(String projectUrl) {
  58. this.projectUrl = projectUrl;
  59. }
  60. public String getMaxLogoUrl() {
  61. return maxLogoUrl;
  62. }
  63. public void setMaxLogoUrl(String maxLogoUrl) {
  64. this.maxLogoUrl = maxLogoUrl;
  65. }
  66. }