SettledMerchants.java 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. package com.ruoyi.system.domain;
  2. import org.apache.commons.lang3.builder.ToStringBuilder;
  3. import org.apache.commons.lang3.builder.ToStringStyle;
  4. import com.ruoyi.common.annotation.Excel;
  5. import com.ruoyi.common.core.domain.BaseEntity;
  6. /**
  7. * 入驻商家对象 settled_merchants
  8. *
  9. * @author boman
  10. * @date 2022-06-10
  11. */
  12. public class SettledMerchants extends BaseEntity
  13. {
  14. private static final long serialVersionUID = 1L;
  15. /** 商家ID */
  16. private Long businessId;
  17. /** 商家名称 */
  18. @Excel(name = "商家名称")
  19. private String businessName;
  20. /** 商家简介 */
  21. @Excel(name = "商家简介")
  22. private String businessIntroduce;
  23. /** 商家地址 */
  24. @Excel(name = "商家地址")
  25. private String businessAddress;
  26. /** 商家电话 */
  27. @Excel(name = "商家电话")
  28. private String businessPhone;
  29. /** 商家政策 */
  30. @Excel(name = "商家政策")
  31. private String businessPolicy;
  32. /**
  33. * 分类id
  34. */
  35. private int policyId;
  36. /** 显示顺序 */
  37. @Excel(name = "显示顺序")
  38. private Integer orderNum;
  39. /** 商家状态(0显示 1隐藏) */
  40. @Excel(name = "商家状态", readConverterExp = "0=显示,1=隐藏")
  41. private String visible;
  42. /** 商家状态(0正常 1停用 2申请中) */
  43. @Excel(name = "商家状态", readConverterExp = "0=正常,1=停用,2=申请中")
  44. private String status;
  45. /** 缩略图 */
  46. @Excel(name = "缩略图")
  47. private String photo;
  48. public int getPolicyId() {
  49. return policyId;
  50. }
  51. public void setPolicyId(int policyId) {
  52. this.policyId = policyId;
  53. }
  54. public void setBusinessId(Long businessId)
  55. {
  56. this.businessId = businessId;
  57. }
  58. public Long getBusinessId()
  59. {
  60. return businessId;
  61. }
  62. public void setBusinessName(String businessName)
  63. {
  64. this.businessName = businessName;
  65. }
  66. public String getBusinessName()
  67. {
  68. return businessName;
  69. }
  70. public void setBusinessIntroduce(String businessIntroduce)
  71. {
  72. this.businessIntroduce = businessIntroduce;
  73. }
  74. public String getBusinessIntroduce()
  75. {
  76. return businessIntroduce;
  77. }
  78. public void setBusinessAddress(String businessAddress)
  79. {
  80. this.businessAddress = businessAddress;
  81. }
  82. public String getBusinessAddress()
  83. {
  84. return businessAddress;
  85. }
  86. public void setBusinessPhone(String businessPhone)
  87. {
  88. this.businessPhone = businessPhone;
  89. }
  90. public String getBusinessPhone()
  91. {
  92. return businessPhone;
  93. }
  94. public void setBusinessPolicy(String businessPolicy)
  95. {
  96. this.businessPolicy = businessPolicy;
  97. }
  98. public String getBusinessPolicy()
  99. {
  100. return businessPolicy;
  101. }
  102. public void setOrderNum(Integer orderNum)
  103. {
  104. this.orderNum = orderNum;
  105. }
  106. public Integer getOrderNum()
  107. {
  108. return orderNum;
  109. }
  110. public void setVisible(String visible)
  111. {
  112. this.visible = visible;
  113. }
  114. public String getVisible()
  115. {
  116. return visible;
  117. }
  118. public void setStatus(String status)
  119. {
  120. this.status = status;
  121. }
  122. public String getStatus()
  123. {
  124. return status;
  125. }
  126. public void setPhoto(String photo)
  127. {
  128. this.photo = photo;
  129. }
  130. public String getPhoto()
  131. {
  132. return photo;
  133. }
  134. @Override
  135. public String toString() {
  136. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  137. .append("businessId", getBusinessId())
  138. .append("businessName", getBusinessName())
  139. .append("businessIntroduce", getBusinessIntroduce())
  140. .append("businessAddress", getBusinessAddress())
  141. .append("businessPhone", getBusinessPhone())
  142. .append("businessPolicy", getBusinessPolicy())
  143. .append("orderNum", getOrderNum())
  144. .append("visible", getVisible())
  145. .append("status", getStatus())
  146. .append("photo", getPhoto())
  147. .append("createBy", getCreateBy())
  148. .append("createTime", getCreateTime())
  149. .append("updateBy", getUpdateBy())
  150. .append("updateTime", getUpdateTime())
  151. .append("remark", getRemark())
  152. .toString();
  153. }
  154. }