首页相关逻辑,商品表中isShow给予不同含义,创建新用户更改
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
package cn.ysk.cashier.vo;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.math.BigInteger;
|
||||
|
||||
/**
|
||||
* @author lyf
|
||||
*/
|
||||
public class CountPayTypeVO {
|
||||
//使用次数
|
||||
private BigInteger count;
|
||||
//日期
|
||||
private String payType;
|
||||
|
||||
public CountPayTypeVO() {
|
||||
|
||||
}
|
||||
|
||||
public BigInteger getCount() {
|
||||
return count;
|
||||
}
|
||||
|
||||
public void setCount(BigInteger count) {
|
||||
this.count = count;
|
||||
}
|
||||
|
||||
public String getPayType() {
|
||||
return payType;
|
||||
}
|
||||
|
||||
public void setPayType(String payType) {
|
||||
this.payType = payType;
|
||||
}
|
||||
|
||||
public CountPayTypeVO(BigInteger count, String payType) {
|
||||
this.count = count;
|
||||
this.payType = payType;
|
||||
}
|
||||
}
|
||||
@@ -17,7 +17,15 @@ public class ProductVO {
|
||||
private String productName;
|
||||
|
||||
private BigDecimal productNum;
|
||||
private BigDecimal amount;
|
||||
|
||||
public BigDecimal getAmount() {
|
||||
return amount;
|
||||
}
|
||||
|
||||
public void setAmount(BigDecimal amount) {
|
||||
this.amount = amount;
|
||||
}
|
||||
|
||||
public Integer getProductId() {
|
||||
return productId;
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
package cn.ysk.cashier.vo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDate;
|
||||
|
||||
/**
|
||||
* @author lyf
|
||||
*
|
||||
*/
|
||||
@Data
|
||||
public class SumDateVO {
|
||||
private String tradeDay;
|
||||
private BigDecimal amount;
|
||||
|
||||
public SumDateVO() {
|
||||
|
||||
}
|
||||
|
||||
public String getTradeDay() {
|
||||
return tradeDay;
|
||||
}
|
||||
|
||||
public void setTradeDay(String tradeDay) {
|
||||
this.tradeDay = tradeDay;
|
||||
}
|
||||
|
||||
public BigDecimal getAmount() {
|
||||
return amount;
|
||||
}
|
||||
|
||||
public void setAmount(BigDecimal amount) {
|
||||
this.amount = amount;
|
||||
}
|
||||
|
||||
public SumDateVO(String tradeDay, BigDecimal amount) {
|
||||
this.tradeDay = tradeDay;
|
||||
this.amount = amount;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user