From 95f9ea7eb339c36cade6c67d0385c49ec2d81477 Mon Sep 17 00:00:00 2001 From: 935090232@qq.com <ak473600000> Date: Wed, 14 Apr 2021 19:39:45 +0800 Subject: [PATCH] Merge branch 'score_shop' into api_score_meger --- zq-erp/src/main/java/com/matrix/system/shopXcx/bean/ShopOrderDetails.java | 71 +++++++++++++++++++++++++++++------ 1 files changed, 59 insertions(+), 12 deletions(-) diff --git a/zq-erp/src/main/java/com/matrix/system/shopXcx/bean/ShopOrderDetails.java b/zq-erp/src/main/java/com/matrix/system/shopXcx/bean/ShopOrderDetails.java index f250956..073eb07 100644 --- a/zq-erp/src/main/java/com/matrix/system/shopXcx/bean/ShopOrderDetails.java +++ b/zq-erp/src/main/java/com/matrix/system/shopXcx/bean/ShopOrderDetails.java @@ -1,7 +1,7 @@ package com.matrix.system.shopXcx.bean; -import com.matrix.core.pojo.EntityDTO; import com.matrix.core.anotations.Extend; +import com.matrix.core.pojo.EntityDTO; import java.math.BigDecimal; @@ -10,9 +10,18 @@ * @author jyy * @date 2019-06-10 10:58 */ + public class ShopOrderDetails extends EntityDTO{ @Extend - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 1L; + /** + *支付方式-直接购买 + */ + public static final int PAYTYPE_MICRO = 1; + /** + *支付方式-积分兑换 + */ + public static final int PAYTYPE_SCORE=2; /** @@ -43,19 +52,33 @@ * 单价 */ private BigDecimal price; - + + /** + * 总价 + */ + private BigDecimal totalPrice; + + /** + * 支付积分单价 + */ + private BigDecimal scoreCount; + + /** + * 支付总积分 + */ + private BigDecimal totalScoreCount; + /** * 数量 */ private Integer count; - - /** - * 总价 + * 支付方式1 直接购买 2,积分兑换 */ - private BigDecimal totalPrice; - + private Integer payType; + + /** * 规格标题 @@ -132,6 +155,30 @@ this.price = price; } + public BigDecimal getTotalPrice() { + return totalPrice; + } + + public void setTotalPrice(BigDecimal totalPrice) { + this.totalPrice = totalPrice; + } + + public BigDecimal getScoreCount() { + return scoreCount; + } + + public void setScoreCount(BigDecimal scoreCount) { + this.scoreCount = scoreCount; + } + + public BigDecimal getTotalScoreCount() { + return totalScoreCount; + } + + public void setTotalScoreCount(BigDecimal totalScoreCount) { + this.totalScoreCount = totalScoreCount; + } + public Integer getCount() { return count; } @@ -140,12 +187,12 @@ this.count = count; } - public BigDecimal getTotalPrice() { - return totalPrice; + public Integer getPayType() { + return payType; } - public void setTotalPrice(BigDecimal totalPrice) { - this.totalPrice = totalPrice; + public void setPayType(Integer payType) { + this.payType = payType; } public String getsTitle() { -- Gitblit v1.9.1