package com.matrix.system.hive.bean;
|
|
import com.matrix.core.anotations.Extend;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
import java.util.List;
|
|
/**
|
*
|
*
|
* @date 2016-07-03 20:53
|
*/
|
public class SysOrderItem implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 订单明细
|
*/
|
private Long id;
|
|
/**
|
* 订单id
|
*/
|
private Long orderId;
|
|
|
|
/**
|
* 购买数量
|
*/
|
private Integer count;
|
|
|
/**
|
* 退款数量
|
*/
|
private Integer refundCount;
|
|
|
/**
|
* 是否为赠送和 是否
|
*/
|
private String isFree;
|
|
/**
|
*购买产品类型(家居产品,项目,套餐,充值卡)
|
*/
|
private String type;
|
|
/**
|
* 商城 商品id
|
*/
|
private Long goodsId;
|
|
/**
|
* 商品组合id
|
*/
|
private Long assembleId;
|
|
/**
|
* 订单号
|
*/
|
private String orderNo ;
|
|
/**
|
* 订单时间
|
*/
|
private Date orderTime;
|
/**
|
* 单价
|
*/
|
private Double price;
|
/**
|
* 折后单价
|
*/
|
private Double zkPrice;
|
/**
|
* 订单条目状态
|
*/
|
private String status;
|
/**
|
* 卡付金额
|
*/
|
private Double cardPay;
|
/**
|
* 现金付款金额
|
*/
|
private Double cashPay;
|
/**
|
* 欠款金额
|
*/
|
private Double arrears;
|
|
|
/**
|
* 付款方式
|
*/
|
private String payMethod;
|
|
private String payMethodDetail;
|
/**
|
* 支付金额
|
*/
|
private Double payMoney;
|
|
/**
|
* 付款卡id 卡使用情况id
|
*/
|
private Long cardId;
|
|
|
/**
|
* 是否为综合卡创建的订单明细
|
* 1是
|
*/
|
@Extend
|
private Integer isZongheCard;
|
|
|
/**
|
* 扩展字段
|
*/
|
|
private ShoppingGoods shoppingGoods;
|
|
/**
|
* 原有数量
|
*/
|
private int preCount;
|
|
/**
|
* 是否退库存
|
*/
|
private String isReturnStore;
|
|
/**
|
* 退款时,原itemid
|
*/
|
private Long oldItemId;
|
|
public Long getOldItemId() {
|
return oldItemId;
|
}
|
|
public void setOldItemId(Long oldItemId) {
|
this.oldItemId = oldItemId;
|
}
|
|
public String getIsReturnStore() {
|
return isReturnStore;
|
}
|
|
public void setIsReturnStore(String isReturnStore) {
|
this.isReturnStore = isReturnStore;
|
}
|
|
public int getPreCount() {
|
return preCount;
|
}
|
|
public Integer getRefundCount() {
|
return refundCount;
|
}
|
|
public void setRefundCount(Integer refundCount) {
|
this.refundCount = refundCount;
|
}
|
|
public void setPreCount(int preCount) {
|
this.preCount = preCount;
|
}
|
|
public ShoppingGoods getShoppingGoods() {
|
return shoppingGoods;
|
}
|
|
public void setShoppingGoods(ShoppingGoods shoppingGoods) {
|
this.shoppingGoods = shoppingGoods;
|
}
|
|
public Integer getIsZongheCard() {
|
return isZongheCard;
|
}
|
|
public void setIsZongheCard(Integer isZongheCard) {
|
this.isZongheCard = isZongheCard;
|
}
|
|
/**
|
* 业绩计算
|
*/
|
private List<AchieveNew> achieveList;
|
|
|
public List<AchieveNew> getAchieveList() {
|
return achieveList;
|
}
|
|
public void setAchieveList(List<AchieveNew> achieveList) {
|
this.achieveList = achieveList;
|
}
|
|
public String getPayMethodDetail() {
|
return payMethodDetail;
|
}
|
|
public void setPayMethodDetail(String payMethodDetail) {
|
this.payMethodDetail = payMethodDetail;
|
}
|
|
public Double getPayMoney() {
|
return payMoney;
|
}
|
|
public void setPayMoney(Double payMoney) {
|
this.payMoney = payMoney;
|
}
|
|
public String getPayMethod() {
|
return payMethod;
|
}
|
|
public void setPayMethod(String payMethod) {
|
this.payMethod = payMethod;
|
}
|
|
|
|
public Double getPrice() {
|
return price;
|
}
|
|
public void setPrice(Double price) {
|
this.price = price;
|
}
|
|
public String getOrderNo() {
|
return orderNo;
|
}
|
|
public void setOrderNo(String orderNo) {
|
this.orderNo = orderNo;
|
}
|
|
public Date getOrderTime() {
|
return orderTime;
|
}
|
|
public void setOrderTime(Date orderTime) {
|
this.orderTime = orderTime;
|
}
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public Long getOrderId() {
|
return orderId;
|
}
|
|
public void setOrderId(Long orderId) {
|
this.orderId = orderId;
|
}
|
|
|
|
public Integer getCount() {
|
return count;
|
}
|
|
public void setCount(Integer count) {
|
this.count = count;
|
}
|
|
public Double getZkPrice() {
|
return zkPrice;
|
}
|
|
public void setZkPrice(Double zkPrice) {
|
this.zkPrice = zkPrice;
|
}
|
|
public Long getGoodsId() {
|
return goodsId;
|
}
|
|
public void setGoodsId(Long goodsId) {
|
this.goodsId = goodsId;
|
}
|
|
public Long getAssembleId() {
|
return assembleId;
|
}
|
|
public void setAssembleId(Long assembleId) {
|
this.assembleId = assembleId;
|
}
|
|
public void setType(String type) {
|
this.type = type;
|
}
|
|
public String getType() {
|
return type;
|
}
|
|
public String getIsFree() {
|
return isFree;
|
}
|
|
public void setIsFree(String isFree) {
|
this.isFree = isFree;
|
}
|
|
|
public String getStatus() {
|
return status;
|
}
|
|
public void setStatus(String status) {
|
this.status = status;
|
}
|
|
|
public Double getCardPay() {
|
return cardPay;
|
}
|
|
public void setCardPay(Double cardPay) {
|
this.cardPay = cardPay;
|
}
|
|
|
public Double getCashPay() {
|
return cashPay;
|
}
|
|
public void setCashPay(Double cashPay) {
|
if(cashPay==null){
|
cashPay=0D;
|
}
|
this.cashPay = cashPay;
|
}
|
|
public Double getArrears() {
|
return arrears;
|
}
|
|
public void setArrears(Double arrears) {
|
this.arrears = arrears;
|
}
|
|
public Long getCardId() {
|
return cardId;
|
}
|
|
public void setCardId(Long cardId) {
|
this.cardId = cardId;
|
}
|
|
|
}
|