package com.matrix.system.app.vo;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.matrix.core.tools.DateUtil;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
|
import java.math.BigDecimal;
|
import java.util.Date;
|
import java.util.List;
|
|
/**
|
* @author wzy
|
* @date 2020-12-23
|
**/
|
@ApiModel(value = "OrderDetailVo", description = "订单详情返回参数类")
|
public class OrderDetailVo {
|
|
@ApiModelProperty(value = "订单ID")
|
private String orderId;
|
|
@ApiModelProperty(value = "会员ID")
|
private String vipId;
|
|
@ApiModelProperty(value = "会员姓名")
|
private String vipName;
|
|
@ApiModelProperty(value = "会员手机号")
|
private String phone;
|
|
@ApiModelProperty(value = "订单号")
|
private String orderNo;
|
|
@ApiModelProperty(value = "顾问姓名")
|
private String staffName;
|
|
@ApiModelProperty(value = "现金支付金额")
|
private BigDecimal cashPay;
|
|
@ApiModelProperty(value = "储值卡支付金额")
|
private BigDecimal cardPay;
|
|
@ApiModelProperty(value = "应付金额")
|
private BigDecimal needPay;
|
|
@ApiModelProperty(value = "实付金额")
|
private BigDecimal realPay;
|
|
@ApiModelProperty(value = "优惠金额")
|
private BigDecimal discount;
|
|
@ApiModelProperty(value = "订单明细")
|
private List<OrderDetailItemVo> items;
|
|
@ApiModelProperty(value = "订单状态")
|
private String orderStatus;
|
|
@ApiModelProperty(value = "欠款")
|
private BigDecimal arrears;
|
|
@JsonFormat(pattern = DateUtil.DATE_FORMAT_SS, timezone = "GMT+8")
|
@ApiModelProperty(value = "下单时间")
|
private Date orderTime;
|
|
public String getVipId() {
|
return vipId;
|
}
|
|
public void setVipId(String vipId) {
|
this.vipId = vipId;
|
}
|
|
public Date getOrderTime() {
|
return orderTime;
|
}
|
|
public void setOrderTime(Date orderTime) {
|
this.orderTime = orderTime;
|
}
|
|
public String getOrderId() {
|
return orderId;
|
}
|
|
public void setOrderId(String orderId) {
|
this.orderId = orderId;
|
}
|
|
public BigDecimal getArrears() {
|
return arrears;
|
}
|
|
public void setArrears(BigDecimal arrears) {
|
this.arrears = arrears;
|
}
|
|
public String getOrderStatus() {
|
return orderStatus;
|
}
|
|
public void setOrderStatus(String orderStatus) {
|
this.orderStatus = orderStatus;
|
}
|
|
public List<OrderDetailItemVo> getItems() {
|
return items;
|
}
|
|
public void setItems(List<OrderDetailItemVo> items) {
|
this.items = items;
|
}
|
|
public String getVipName() {
|
return vipName;
|
}
|
|
public void setVipName(String vipName) {
|
this.vipName = vipName;
|
}
|
|
public String getPhone() {
|
return phone;
|
}
|
|
public void setPhone(String phone) {
|
this.phone = phone;
|
}
|
|
public String getOrderNo() {
|
return orderNo;
|
}
|
|
public void setOrderNo(String orderNo) {
|
this.orderNo = orderNo;
|
}
|
|
public String getStaffName() {
|
return staffName;
|
}
|
|
public void setStaffName(String staffName) {
|
this.staffName = staffName;
|
}
|
|
public BigDecimal getCashPay() {
|
return cashPay;
|
}
|
|
public void setCashPay(BigDecimal cashPay) {
|
this.cashPay = cashPay;
|
}
|
|
public BigDecimal getCardPay() {
|
return cardPay;
|
}
|
|
public void setCardPay(BigDecimal cardPay) {
|
this.cardPay = cardPay;
|
}
|
|
public BigDecimal getNeedPay() {
|
return needPay;
|
}
|
|
public void setNeedPay(BigDecimal needPay) {
|
this.needPay = needPay;
|
}
|
|
public BigDecimal getRealPay() {
|
return realPay;
|
}
|
|
public void setRealPay(BigDecimal realPay) {
|
this.realPay = realPay;
|
}
|
|
public BigDecimal getDiscount() {
|
return discount;
|
}
|
|
public void setDiscount(BigDecimal discount) {
|
this.discount = discount;
|
}
|
}
|