优惠券 字段修改为浮点数
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.chaozhanggui.system.cashierservice.entity;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import java.io.Serializable;
|
||||
|
||||
@@ -36,11 +37,11 @@ public class TbActivateInRecord implements Serializable {
|
||||
/**
|
||||
* 满多少金额
|
||||
*/
|
||||
private Integer fullAmount;
|
||||
private BigDecimal fullAmount;
|
||||
/**
|
||||
* 减多少金额
|
||||
*/
|
||||
private Integer discountAmount;
|
||||
private BigDecimal discountAmount;
|
||||
/**
|
||||
* 赠送数量
|
||||
*/
|
||||
@@ -123,19 +124,19 @@ public class TbActivateInRecord implements Serializable {
|
||||
this.proId = proId;
|
||||
}
|
||||
|
||||
public Integer getFullAmount() {
|
||||
public BigDecimal getFullAmount() {
|
||||
return fullAmount;
|
||||
}
|
||||
|
||||
public void setFullAmount(Integer fullAmount) {
|
||||
public void setFullAmount(BigDecimal fullAmount) {
|
||||
this.fullAmount = fullAmount;
|
||||
}
|
||||
|
||||
public Integer getDiscountAmount() {
|
||||
public BigDecimal getDiscountAmount() {
|
||||
return discountAmount;
|
||||
}
|
||||
|
||||
public void setDiscountAmount(Integer discountAmount) {
|
||||
public void setDiscountAmount(BigDecimal discountAmount) {
|
||||
this.discountAmount = discountAmount;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.chaozhanggui.system.cashierservice.entity;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalTime;
|
||||
import java.util.Date;
|
||||
import java.io.Serializable;
|
||||
@@ -29,11 +30,11 @@ public class TbShopCoupon implements Serializable {
|
||||
/**
|
||||
* 满多少金额
|
||||
*/
|
||||
private Integer fullAmount;
|
||||
private BigDecimal fullAmount;
|
||||
/**
|
||||
* 减多少金额
|
||||
*/
|
||||
private Integer discountAmount;
|
||||
private BigDecimal discountAmount;
|
||||
/**
|
||||
* 描述
|
||||
*/
|
||||
@@ -132,19 +133,19 @@ public class TbShopCoupon implements Serializable {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public Integer getFullAmount() {
|
||||
public BigDecimal getFullAmount() {
|
||||
return fullAmount;
|
||||
}
|
||||
|
||||
public void setFullAmount(Integer fullAmount) {
|
||||
public void setFullAmount(BigDecimal fullAmount) {
|
||||
this.fullAmount = fullAmount;
|
||||
}
|
||||
|
||||
public Integer getDiscountAmount() {
|
||||
public BigDecimal getDiscountAmount() {
|
||||
return discountAmount;
|
||||
}
|
||||
|
||||
public void setDiscountAmount(Integer discountAmount) {
|
||||
public void setDiscountAmount(BigDecimal discountAmount) {
|
||||
this.discountAmount = discountAmount;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user