QmjsShoppingMall.java 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. package beilv.system.domain;
  2. import java.math.BigDecimal;
  3. import org.apache.commons.lang3.builder.ToStringBuilder;
  4. import org.apache.commons.lang3.builder.ToStringStyle;
  5. import beilv.common.annotation.Excel;
  6. import beilv.common.core.domain.BaseEntity;
  7. /**
  8. * 商城对象 qmjs_shopping_mall
  9. *
  10. * @author lc
  11. * @date 2025-01-02
  12. */
  13. public class QmjsShoppingMall extends BaseEntity
  14. {
  15. private static final long serialVersionUID = 1L;
  16. /** 主键id */
  17. private Long id;
  18. /** 商品名称 */
  19. @Excel(name = "商品名称")
  20. private String goodsName;
  21. /** 商品条码 */
  22. @Excel(name = "商品条码")
  23. private String goodsCode;
  24. /** 商品种类 */
  25. @Excel(name = "商品种类")
  26. private String goodsType;
  27. /** 商品图片 */
  28. @Excel(name = "商品图片")
  29. private String goodsImg;
  30. /** 商品说明 */
  31. @Excel(name = "商品说明")
  32. private String goodsDescribe;
  33. /** 计量单位 */
  34. @Excel(name = "计量单位")
  35. private String goodsUnit;
  36. /** 时价商品(是/否) */
  37. @Excel(name = "时价商品", readConverterExp = "是=/否")
  38. private String goodsCurrentPrice;
  39. /** 销售单价 */
  40. @Excel(name = "销售单价")
  41. private BigDecimal salePrice;
  42. /** 建议售价 */
  43. @Excel(name = "建议售价")
  44. private BigDecimal suggestionPrice;
  45. /** 商品库存 */
  46. @Excel(name = "商品库存")
  47. private String goodsInventory;
  48. /** 库存成本 */
  49. @Excel(name = "库存成本")
  50. private BigDecimal inventoryCost;
  51. /** 商品状态(正常/禁用) */
  52. @Excel(name = "商品状态(正常/禁用)")
  53. private String goodsState;
  54. public void setId(Long id)
  55. {
  56. this.id = id;
  57. }
  58. public Long getId()
  59. {
  60. return id;
  61. }
  62. public void setGoodsName(String goodsName)
  63. {
  64. this.goodsName = goodsName;
  65. }
  66. public String getGoodsName()
  67. {
  68. return goodsName;
  69. }
  70. public void setGoodsCode(String goodsCode)
  71. {
  72. this.goodsCode = goodsCode;
  73. }
  74. public String getGoodsCode()
  75. {
  76. return goodsCode;
  77. }
  78. public void setGoodsType(String goodsType)
  79. {
  80. this.goodsType = goodsType;
  81. }
  82. public String getGoodsType()
  83. {
  84. return goodsType;
  85. }
  86. public void setGoodsImg(String goodsImg)
  87. {
  88. this.goodsImg = goodsImg;
  89. }
  90. public String getGoodsImg()
  91. {
  92. return goodsImg;
  93. }
  94. public void setGoodsDescribe(String goodsDescribe)
  95. {
  96. this.goodsDescribe = goodsDescribe;
  97. }
  98. public String getGoodsDescribe()
  99. {
  100. return goodsDescribe;
  101. }
  102. public void setGoodsUnit(String goodsUnit)
  103. {
  104. this.goodsUnit = goodsUnit;
  105. }
  106. public String getGoodsUnit()
  107. {
  108. return goodsUnit;
  109. }
  110. public void setGoodsCurrentPrice(String goodsCurrentPrice)
  111. {
  112. this.goodsCurrentPrice = goodsCurrentPrice;
  113. }
  114. public String getGoodsCurrentPrice()
  115. {
  116. return goodsCurrentPrice;
  117. }
  118. public void setSalePrice(BigDecimal salePrice)
  119. {
  120. this.salePrice = salePrice;
  121. }
  122. public BigDecimal getSalePrice()
  123. {
  124. return salePrice;
  125. }
  126. public void setSuggestionPrice(BigDecimal suggestionPrice)
  127. {
  128. this.suggestionPrice = suggestionPrice;
  129. }
  130. public BigDecimal getSuggestionPrice()
  131. {
  132. return suggestionPrice;
  133. }
  134. public void setGoodsInventory(String goodsInventory)
  135. {
  136. this.goodsInventory = goodsInventory;
  137. }
  138. public String getGoodsInventory()
  139. {
  140. return goodsInventory;
  141. }
  142. public void setInventoryCost(BigDecimal inventoryCost)
  143. {
  144. this.inventoryCost = inventoryCost;
  145. }
  146. public BigDecimal getInventoryCost()
  147. {
  148. return inventoryCost;
  149. }
  150. public void setGoodsState(String goodsState)
  151. {
  152. this.goodsState = goodsState;
  153. }
  154. public String getGoodsState()
  155. {
  156. return goodsState;
  157. }
  158. @Override
  159. public String toString() {
  160. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  161. .append("id", getId())
  162. .append("goodsName", getGoodsName())
  163. .append("goodsCode", getGoodsCode())
  164. .append("goodsType", getGoodsType())
  165. .append("goodsImg", getGoodsImg())
  166. .append("goodsDescribe", getGoodsDescribe())
  167. .append("goodsUnit", getGoodsUnit())
  168. .append("goodsCurrentPrice", getGoodsCurrentPrice())
  169. .append("salePrice", getSalePrice())
  170. .append("suggestionPrice", getSuggestionPrice())
  171. .append("goodsInventory", getGoodsInventory())
  172. .append("inventoryCost", getInventoryCost())
  173. .append("goodsState", getGoodsState())
  174. .toString();
  175. }
  176. }