package com.matrix.system.shopXcx.api.vo;
|
|
import com.matrix.core.tools.DateUtil;
|
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
/**
|
* @author jyy
|
*/
|
public class CouponReceiveInfoVO {
|
|
/**
|
* 领取记录id
|
*/
|
private Integer receiveId;
|
|
/**
|
* 优惠券ID
|
*/
|
private Integer couponId;
|
|
/**
|
* 优惠券名称
|
*/
|
private String cName;
|
|
/**
|
* 优惠券开始时间
|
*/
|
private Date beginTime;
|
|
/**
|
* 优惠券结束时间
|
*/
|
private Date endTime;
|
|
/**
|
* 优惠券是否可用
|
*/
|
private Integer isUsing;
|
|
/**
|
* 最低消费金额(满减)
|
*/
|
private BigDecimal minAmount;
|
|
/**
|
* 抵消金额
|
*/
|
private BigDecimal offsetAmount;
|
|
/**
|
* 是否所有产品可用
|
*/
|
private Integer isAll;
|
|
/**
|
* 产品ids
|
*/
|
private String productIds;
|
|
/**
|
* 属性ids
|
*/
|
private String attrIds;
|
|
/**
|
* 微信展示开始时间
|
*/
|
private String beginTimeWx;
|
|
/**
|
* 微信展示结束时间
|
*/
|
private String endTimeWx;
|
|
public Integer getCouponId() {
|
return couponId;
|
}
|
|
public void setCouponId(Integer couponId) {
|
this.couponId = couponId;
|
}
|
|
public String getcName() {
|
return cName;
|
}
|
|
public void setcName(String cName) {
|
this.cName = cName;
|
}
|
|
public Date getBeginTime() {
|
return beginTime;
|
}
|
|
public void setBeginTime(Date beginTime) {
|
this.beginTime = beginTime;
|
}
|
|
public Date getEndTime() {
|
return endTime;
|
}
|
|
public void setEndTime(Date endTime) {
|
this.endTime = endTime;
|
}
|
|
public Integer getIsUsing() {
|
return isUsing;
|
}
|
|
public void setIsUsing(Integer isUsing) {
|
this.isUsing = isUsing;
|
}
|
|
public BigDecimal getMinAmount() {
|
return minAmount;
|
}
|
|
public void setMinAmount(BigDecimal minAmount) {
|
this.minAmount = minAmount;
|
}
|
|
public BigDecimal getOffsetAmount() {
|
return offsetAmount;
|
}
|
|
public void setOffsetAmount(BigDecimal offsetAmount) {
|
this.offsetAmount = offsetAmount;
|
}
|
|
public Integer getIsAll() {
|
return isAll;
|
}
|
|
public Integer getReceiveId() {
|
return receiveId;
|
}
|
|
public void setReceiveId(Integer receiveId) {
|
this.receiveId = receiveId;
|
}
|
|
public void setIsAll(Integer isAll) {
|
this.isAll = isAll;
|
}
|
|
public String getProductIds() {
|
return productIds;
|
}
|
|
public void setProductIds(String productIds) {
|
this.productIds = productIds;
|
}
|
|
public String getAttrIds() {
|
return attrIds;
|
}
|
|
public void setAttrIds(String attrIds) {
|
this.attrIds = attrIds;
|
}
|
|
public String getBeginTimeWx() {
|
if (this.beginTime == null) {
|
return "";
|
}
|
return DateUtil.dateToString(this.beginTime, DateUtil.DATE_FORMAT_SS);
|
}
|
|
public String getEndTimeWx() {
|
if (this.endTime == null) {
|
return "";
|
}
|
return DateUtil.dateToString(this.endTime , DateUtil.DATE_FORMAT_SS);
|
}
|
}
|