package com.matrix.system.hive.bean;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.matrix.core.tools.DateUtil;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
import java.util.List;
|
|
|
/**
|
*
|
*
|
* @date 2016-07-03 20:53
|
*/
|
public class SysOrder implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 序号
|
*/
|
private Long id;
|
|
/**
|
* 客户id
|
*/
|
private Long vipId;
|
|
/**
|
* 下单时间
|
*/
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
|
private Date orderTime;
|
|
/**
|
* 收款
|
*/
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
|
private Date payTime;
|
|
/**
|
* 备注
|
*/
|
private String remark;
|
|
/**
|
* 员工编号(美容顾问) 下单人id
|
*/
|
private Long staffId;
|
|
/**
|
* 商机id
|
*/
|
private Long changeId;
|
|
/**
|
* 商机id
|
*/
|
private Long companyId;
|
|
/**
|
* 是否跨店
|
*/
|
private String isCross;
|
|
/**
|
* 订单号
|
*/
|
private String orderNo;
|
|
/**
|
* 参与的活动
|
*/
|
private String activity;
|
|
/**
|
* 订单总价
|
*/
|
private double total;
|
/**
|
* 折后价
|
*/
|
private double zkTotal;
|
|
/**
|
* 现金支付金额
|
*/
|
private double cashPay;
|
/**
|
* 现金支付金额
|
*/
|
private double cardPay;
|
/**
|
* 欠款金额
|
*/
|
private double arrears;
|
|
/**
|
* 店铺id
|
*/
|
private Long shopId;
|
|
/**
|
* 订单状态
|
*/
|
private String statu;
|
|
/**
|
* 扩展属性
|
*/
|
|
/**
|
* 订单明细
|
*/
|
private List<SysOrderItem> items;
|
|
private List<SysOrderFlow> flows;
|
/**
|
* 会员姓名
|
*/
|
private String vipName;
|
|
/**
|
* 会员姓名
|
*/
|
private String vipNo;
|
|
/* 会员手机号
|
*/
|
private String vipPhone;
|
|
private String staffName;
|
|
private String shopName;
|
|
private String shopShortName;
|
|
private Long searchShop;
|
/**
|
* 美疗师主键(“,”分割)
|
*/
|
private String beatuyId;
|
/**
|
* 美疗师姓名
|
*/
|
private String beatuyName;
|
|
/**
|
* 表单搜索条件(会员编号、会员手机号码)
|
*/
|
private String keyWordVo;
|
/**
|
* 表单搜索条件(开始时间结束时间)
|
*/
|
@DateTimeFormat(pattern = DateUtil.DATE_FORMAT_MM)
|
private Date beginTimeVo;
|
|
@DateTimeFormat(pattern = DateUtil.DATE_FORMAT_MM)
|
private Date endTimeVo;
|
|
/**
|
* 消费次数
|
*/
|
private Integer times;
|
|
private String type;
|
|
/**
|
* 原有订单ID 退款时使用
|
*/
|
private Long oldOrderId;
|
|
public Long getOldOrderId() {
|
return oldOrderId;
|
}
|
|
public void setOldOrderId(Long oldOrderId) {
|
this.oldOrderId = oldOrderId;
|
}
|
|
public List<SysOrderFlow> getFlows() {
|
return flows;
|
}
|
|
public void setFlows(List<SysOrderFlow> flows) {
|
this.flows = flows;
|
}
|
|
public String getShopShortName() {
|
return shopShortName;
|
}
|
|
public void setShopShortName(String shopShortName) {
|
this.shopShortName = shopShortName;
|
}
|
|
public String getType() {
|
return type;
|
}
|
|
public void setType(String type) {
|
this.type = type;
|
}
|
|
public Integer getTimes() {
|
return times;
|
}
|
|
public void setTimes(Integer times) {
|
this.times = times;
|
}
|
|
public String getBeatuyId() {
|
return beatuyId;
|
}
|
|
public void setBeatuyId(String beatuyId) {
|
this.beatuyId = beatuyId;
|
}
|
|
public String getBeatuyName() {
|
return beatuyName;
|
}
|
|
public void setBeatuyName(String beatuyName) {
|
this.beatuyName = beatuyName;
|
}
|
|
public String getVipNo() {
|
return vipNo;
|
}
|
|
public void setVipNo(String vipNo) {
|
this.vipNo = vipNo;
|
}
|
|
public Long getSearchShop() {
|
return searchShop;
|
}
|
|
public void setSearchShop(Long searchShop) {
|
this.searchShop = searchShop;
|
}
|
|
public double getArrears() {
|
return arrears;
|
}
|
|
public void setArrears(double arrears) {
|
this.arrears = arrears;
|
}
|
|
public double getCardPay() {
|
return cardPay;
|
}
|
|
public void setCardPay(double cardPay) {
|
this.cardPay = cardPay;
|
}
|
|
public String getKeyWordVo() {
|
return keyWordVo;
|
}
|
|
public void setKeyWordVo(String keyWordVo) {
|
this.keyWordVo = keyWordVo;
|
}
|
|
public Date getBeginTimeVo() {
|
return beginTimeVo;
|
}
|
|
public void setBeginTimeVo(Date beginTimeVo) {
|
this.beginTimeVo = beginTimeVo;
|
}
|
|
public Date getEndTimeVo() {
|
return endTimeVo;
|
}
|
|
public void setEndTimeVo(Date endTimeVo) {
|
this.endTimeVo = endTimeVo;
|
}
|
public double getCashPay() {
|
return cashPay;
|
}
|
|
public void setCashPay(double cashPay) {
|
this.cashPay = cashPay;
|
}
|
|
|
public String getShopName() {
|
return shopName;
|
}
|
|
public void setShopName(String shopName) {
|
this.shopName = shopName;
|
}
|
|
public Long getShopId() {
|
return shopId;
|
}
|
|
public void setShopId(Long shopId) {
|
this.shopId = shopId;
|
}
|
|
public String getVipName() {
|
return vipName;
|
}
|
|
public void setVipName(String vipName) {
|
this.vipName = vipName;
|
}
|
|
public List<SysOrderItem> getItems() {
|
return items;
|
}
|
|
public void setItems(List<SysOrderItem> items) {
|
this.items = items;
|
}
|
|
public String getStatu() {
|
return statu;
|
}
|
|
public void setStatu(String statu) {
|
this.statu = statu;
|
}
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public Long getVipId() {
|
return vipId;
|
}
|
|
public void setVipId(Long vipId) {
|
this.vipId = vipId;
|
}
|
|
public Date getOrderTime() {
|
return orderTime;
|
}
|
|
public void setOrderTime(Date orderTime) {
|
this.orderTime = orderTime;
|
}
|
|
public String getRemark() {
|
return remark;
|
}
|
|
public void setRemark(String remark) {
|
this.remark = remark;
|
}
|
|
|
public void setStaffId(Long staffId) {
|
this.staffId = staffId;
|
}
|
|
public String getIsCross() {
|
return isCross;
|
}
|
|
public void setIsCross(String isCross) {
|
this.isCross = isCross;
|
}
|
|
public String getOrderNo() {
|
return orderNo;
|
}
|
|
public void setOrderNo(String orderNo) {
|
this.orderNo = orderNo;
|
}
|
|
public String getActivity() {
|
return activity;
|
}
|
|
public void setActivity(String activity) {
|
this.activity = activity;
|
}
|
|
public double getTotal() {
|
return total;
|
}
|
|
public void setTotal(double total) {
|
this.total = total;
|
}
|
|
public Long getStaffId() {
|
return staffId;
|
}
|
|
public String getStaffName() {
|
return staffName;
|
}
|
|
|
public void setStaffName(String staffName) {
|
this.staffName = staffName;
|
}
|
|
public Long getChangeId() {
|
return changeId;
|
}
|
|
public void setChangeId(Long changeId) {
|
this.changeId = changeId;
|
}
|
|
public double getZkTotal() {
|
return zkTotal;
|
}
|
|
public void setZkTotal(double zkTotal) {
|
this.zkTotal = zkTotal;
|
}
|
|
public String getVipPhone() {
|
return vipPhone;
|
}
|
|
public void setVipPhone(String vipPhone) {
|
this.vipPhone = vipPhone;
|
}
|
|
public Date getPayTime() {
|
return payTime;
|
}
|
|
public void setPayTime(Date payTime) {
|
this.payTime = payTime;
|
}
|
|
public Long getCompanyId() {
|
return companyId;
|
}
|
|
public void setCompanyId(Long companyId) {
|
this.companyId = companyId;
|
}
|
}
|