package com.matrix.system.hive.bean; 
 | 
  
 | 
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 { 
 | 
  
 | 
    /** 
 | 
     * 订单类型-销售订单 
 | 
     */ 
 | 
    public static final int ORDER_TYPE_SEAL= 1; 
 | 
  
 | 
    /** 
 | 
     * 订单类型-退款订单 
 | 
     */ 
 | 
    public static final int ORDER_TYPE_REFUND= 2; 
 | 
  
 | 
    /** 
 | 
     * 序号 
 | 
     */ 
 | 
    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; 
 | 
  
 | 
    /** 
 | 
     * 订单类型1,销售订单,2退款订单 
 | 
     */ 
 | 
    private Integer orderType; 
 | 
  
 | 
    /* 会员手机号 
 | 
     */ 
 | 
    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 static final Integer IS_HAS_REFUND_Y = 1; 
 | 
  
 | 
    /** 
 | 
     * 该订单无退款 
 | 
     */ 
 | 
    public static final Integer IS_HAS_REFUND_N = 2; 
 | 
  
 | 
    /** 
 | 
     * 是否发生退款 1-是 2-否 
 | 
     */ 
 | 
    private Integer isHasRefund; 
 | 
  
 | 
    public Integer getIsHasRefund() { 
 | 
        return isHasRefund; 
 | 
    } 
 | 
  
 | 
    public void setIsHasRefund(Integer isHasRefund) { 
 | 
        this.isHasRefund = isHasRefund; 
 | 
    } 
 | 
  
 | 
    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 Integer getOrderType() { 
 | 
        return orderType; 
 | 
    } 
 | 
  
 | 
    public void setOrderType(Integer orderType) { 
 | 
        this.orderType = orderType; 
 | 
    } 
 | 
  
 | 
    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; 
 | 
    } 
 | 
} 
 |