From 033ce8ddc88ef653635bf7cb2a273d901399629c Mon Sep 17 00:00:00 2001 From: jyy <935090232@qq.com> Date: Thu, 18 Mar 2021 15:32:11 +0800 Subject: [PATCH] 积分商城2 --- zq-erp/src/main/java/com/matrix/system/shopXcx/bean/ShopSku.java | 43 +++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 41 insertions(+), 2 deletions(-) diff --git a/zq-erp/src/main/java/com/matrix/system/shopXcx/bean/ShopSku.java b/zq-erp/src/main/java/com/matrix/system/shopXcx/bean/ShopSku.java index 5b504d2..5d5b051 100644 --- a/zq-erp/src/main/java/com/matrix/system/shopXcx/bean/ShopSku.java +++ b/zq-erp/src/main/java/com/matrix/system/shopXcx/bean/ShopSku.java @@ -12,7 +12,7 @@ */ public class ShopSku extends EntityDTO{ @Extend - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 1L; /** @@ -49,11 +49,26 @@ * 价格 */ private BigDecimal price; + /** + *推广提成 + */ + private BigDecimal sealesPrice; + /** + *邀请提成 + */ + private BigDecimal invitationPrice; /** - * 积分 + * 消费可得积分 */ private Integer score; + + /** + * 积分兑换价格 + */ + private Integer scorePrice; + + /** * 排序 @@ -81,6 +96,22 @@ @Extend private String goodsName; + + public BigDecimal getSealesPrice() { + return sealesPrice; + } + + public void setSealesPrice(BigDecimal sealesPrice) { + this.sealesPrice = sealesPrice; + } + + public BigDecimal getInvitationPrice() { + return invitationPrice; + } + + public void setInvitationPrice(BigDecimal invitationPrice) { + this.invitationPrice = invitationPrice; + } public Long getCompanyId() { return companyId; @@ -225,6 +256,14 @@ this.goodsName = goodsName; } + public Integer getScorePrice() { + return scorePrice; + } + + public void setScorePrice(Integer scorePrice) { + this.scorePrice = scorePrice; + } + @Override public boolean equals(Object obj) { //这里以name为判定标准。 -- Gitblit v1.9.1