dev-discount
parent
62c4cf1ad0
commit
9a60f1f561
File diff suppressed because one or more lines are too long
@ -0,0 +1,29 @@ |
||||
package com.hai.model; |
||||
|
||||
import java.util.Date; |
||||
|
||||
public class DateCountModel { |
||||
/** |
||||
* 时间 |
||||
*/ |
||||
private Date datetime; |
||||
|
||||
// 金额
|
||||
private Long num; |
||||
|
||||
public Date getDatetime() { |
||||
return datetime; |
||||
} |
||||
|
||||
public void setDatetime(Date datetime) { |
||||
this.datetime = datetime; |
||||
} |
||||
|
||||
public Long getNum() { |
||||
return num; |
||||
} |
||||
|
||||
public void setNum(Long num) { |
||||
this.num = num; |
||||
} |
||||
} |
@ -0,0 +1,61 @@ |
||||
package com.hai.model; |
||||
|
||||
import java.math.BigDecimal; |
||||
|
||||
public class IndexCountModel { |
||||
|
||||
// 注册人数
|
||||
private Long registrantNum; |
||||
|
||||
// 总交易金额
|
||||
private BigDecimal transactionNum; |
||||
|
||||
// 当天交易金额
|
||||
private BigDecimal transactionToday; |
||||
|
||||
// 总交易订单
|
||||
private Long transactionOrder; |
||||
|
||||
// 当天交易订单
|
||||
private Long transactionOrderToday; |
||||
|
||||
public Long getRegistrantNum() { |
||||
return registrantNum; |
||||
} |
||||
|
||||
public void setRegistrantNum(Long registrantNum) { |
||||
this.registrantNum = registrantNum; |
||||
} |
||||
|
||||
public BigDecimal getTransactionNum() { |
||||
return transactionNum; |
||||
} |
||||
|
||||
public void setTransactionNum(BigDecimal transactionNum) { |
||||
this.transactionNum = transactionNum; |
||||
} |
||||
|
||||
public BigDecimal getTransactionToday() { |
||||
return transactionToday; |
||||
} |
||||
|
||||
public void setTransactionToday(BigDecimal transactionToday) { |
||||
this.transactionToday = transactionToday; |
||||
} |
||||
|
||||
public Long getTransactionOrder() { |
||||
return transactionOrder; |
||||
} |
||||
|
||||
public void setTransactionOrder(Long transactionOrder) { |
||||
this.transactionOrder = transactionOrder; |
||||
} |
||||
|
||||
public Long getTransactionOrderToday() { |
||||
return transactionOrderToday; |
||||
} |
||||
|
||||
public void setTransactionOrderToday(Long transactionOrderToday) { |
||||
this.transactionOrderToday = transactionOrderToday; |
||||
} |
||||
} |
@ -0,0 +1,56 @@ |
||||
package com.hai.model; |
||||
|
||||
import java.util.List; |
||||
|
||||
public class LineCountModel { |
||||
//最近七天订单金额
|
||||
private List<OrderSumModel> orderPriceSum; |
||||
//最近七天话费订单金额
|
||||
private List<OrderSumModel> orderRechargePriceSum; |
||||
//最近七天订单数量
|
||||
private List<DateCountModel> orderCount; |
||||
//最近七天话费订单数量
|
||||
private List<DateCountModel> orderRechargeCount; |
||||
//最近七天注册人数
|
||||
private List<DateCountModel> userCount; |
||||
|
||||
public List<OrderSumModel> getOrderPriceSum() { |
||||
return orderPriceSum; |
||||
} |
||||
|
||||
public void setOrderPriceSum(List<OrderSumModel> orderPriceSum) { |
||||
this.orderPriceSum = orderPriceSum; |
||||
} |
||||
|
||||
public List<OrderSumModel> getOrderRechargePriceSum() { |
||||
return orderRechargePriceSum; |
||||
} |
||||
|
||||
public void setOrderRechargePriceSum(List<OrderSumModel> orderRechargePriceSum) { |
||||
this.orderRechargePriceSum = orderRechargePriceSum; |
||||
} |
||||
|
||||
public List<DateCountModel> getOrderCount() { |
||||
return orderCount; |
||||
} |
||||
|
||||
public void setOrderCount(List<DateCountModel> orderCount) { |
||||
this.orderCount = orderCount; |
||||
} |
||||
|
||||
public List<DateCountModel> getOrderRechargeCount() { |
||||
return orderRechargeCount; |
||||
} |
||||
|
||||
public void setOrderRechargeCount(List<DateCountModel> orderRechargeCount) { |
||||
this.orderRechargeCount = orderRechargeCount; |
||||
} |
||||
|
||||
public List<DateCountModel> getUserCount() { |
||||
return userCount; |
||||
} |
||||
|
||||
public void setUserCount(List<DateCountModel> userCount) { |
||||
this.userCount = userCount; |
||||
} |
||||
} |
@ -0,0 +1,67 @@ |
||||
package com.hai.model; |
||||
|
||||
import java.math.BigDecimal; |
||||
import java.util.Date; |
||||
|
||||
public class LineCountReturnModel { |
||||
// 订单金额
|
||||
private BigDecimal[] orderPriceSum; |
||||
// 话费订单金额
|
||||
private BigDecimal[] orderRechargePriceSum; |
||||
// 订单数量
|
||||
private Long[] orderCount; |
||||
// 话费订单数量
|
||||
private Long[] orderRechargeCount; |
||||
// 用户数量
|
||||
private Long[] userCount; |
||||
// 时间
|
||||
private String[] date; |
||||
|
||||
public BigDecimal[] getOrderPriceSum() { |
||||
return orderPriceSum; |
||||
} |
||||
|
||||
public void setOrderPriceSum(BigDecimal[] orderPriceSum) { |
||||
this.orderPriceSum = orderPriceSum; |
||||
} |
||||
|
||||
public BigDecimal[] getOrderRechargePriceSum() { |
||||
return orderRechargePriceSum; |
||||
} |
||||
|
||||
public void setOrderRechargePriceSum(BigDecimal[] orderRechargePriceSum) { |
||||
this.orderRechargePriceSum = orderRechargePriceSum; |
||||
} |
||||
|
||||
public Long[] getOrderCount() { |
||||
return orderCount; |
||||
} |
||||
|
||||
public void setOrderCount(Long[] orderCount) { |
||||
this.orderCount = orderCount; |
||||
} |
||||
|
||||
public Long[] getOrderRechargeCount() { |
||||
return orderRechargeCount; |
||||
} |
||||
|
||||
public void setOrderRechargeCount(Long[] orderRechargeCount) { |
||||
this.orderRechargeCount = orderRechargeCount; |
||||
} |
||||
|
||||
public Long[] getUserCount() { |
||||
return userCount; |
||||
} |
||||
|
||||
public void setUserCount(Long[] userCount) { |
||||
this.userCount = userCount; |
||||
} |
||||
|
||||
public String[] getDate() { |
||||
return date; |
||||
} |
||||
|
||||
public void setDate(String[] date) { |
||||
this.date = date; |
||||
} |
||||
} |
@ -0,0 +1,30 @@ |
||||
package com.hai.model; |
||||
|
||||
import java.math.BigDecimal; |
||||
import java.util.Date; |
||||
|
||||
public class OrderSumModel { |
||||
/** |
||||
* 时间 |
||||
*/ |
||||
private Date datetime; |
||||
|
||||
// 金额
|
||||
private BigDecimal price; |
||||
|
||||
public Date getDatetime() { |
||||
return datetime; |
||||
} |
||||
|
||||
public void setDatetime(Date datetime) { |
||||
this.datetime = datetime; |
||||
} |
||||
|
||||
public BigDecimal getPrice() { |
||||
return price; |
||||
} |
||||
|
||||
public void setPrice(BigDecimal price) { |
||||
this.price = price; |
||||
} |
||||
} |
Loading…
Reference in new issue