| | |
| | | * 价格 |
| | | */ |
| | | private BigDecimal price; |
| | | |
| | | /** |
| | | *自购提成 |
| | | */ |
| | | private BigDecimal selfPrice; |
| | | /** |
| | | *推广提成 |
| | | */ |
| | |
| | | private Integer score; |
| | | |
| | | /** |
| | | * 积分兑换价格 |
| | | * 积分兑换所需支付金额 |
| | | */ |
| | | private Integer scorePrice; |
| | | |
| | | private BigDecimal scorePrice; |
| | | /** |
| | | * 积分兑换所需支付积分 |
| | | */ |
| | | private Integer scoreCount; |
| | | |
| | | |
| | | /** |
| | |
| | | |
| | | @Extend |
| | | private String goodsName; |
| | | |
| | | |
| | | public Integer getScoreCount() { |
| | | return scoreCount; |
| | | } |
| | | |
| | | public void setScoreCount(Integer scoreCount) { |
| | | this.scoreCount = scoreCount; |
| | | } |
| | | |
| | | public BigDecimal getSealesPrice() { |
| | | return sealesPrice; |
| | |
| | | this.goodsName = goodsName; |
| | | } |
| | | |
| | | public BigDecimal getScorePrice() { |
| | | return scorePrice; |
| | | } |
| | | |
| | | public void setScorePrice(BigDecimal scorePrice) { |
| | | this.scorePrice = scorePrice; |
| | | } |
| | | |
| | | @Override |
| | | public boolean equals(Object obj) { |
| | | //这里以name为判定标准。 |
| | | return id.equals(((ShopSku) obj).getId()); |
| | | } |
| | | |
| | | public BigDecimal getSelfPrice() { |
| | | return selfPrice; |
| | | } |
| | | |
| | | public void setSelfPrice(BigDecimal selfPrice) { |
| | | this.selfPrice = selfPrice; |
| | | } |
| | | |
| | | } |