|
|
|
@@ -0,0 +1,336 @@ |
|
|
|
package com.simple.domain.vo; |
|
|
|
|
|
|
|
import javax.persistence.Id; |
|
|
|
import javax.persistence.Table; |
|
|
|
import javax.persistence.Transient; |
|
|
|
import java.io.Serializable; |
|
|
|
import java.text.DecimalFormat; |
|
|
|
import java.util.ArrayList; |
|
|
|
import java.util.Date; |
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
public class WxCouponCarVo implements Serializable { |
|
|
|
private static final long serialVersionUID = 1L; |
|
|
|
|
|
|
|
@Id |
|
|
|
protected Long id; |
|
|
|
|
|
|
|
@Transient |
|
|
|
protected List<Long> ids; |
|
|
|
@Transient |
|
|
|
protected String sortColumns; |
|
|
|
|
|
|
|
@Transient |
|
|
|
protected String channels; |
|
|
|
|
|
|
|
public Long getId() { |
|
|
|
return id; |
|
|
|
} |
|
|
|
|
|
|
|
public void setId(Long id) { |
|
|
|
this.id = id; |
|
|
|
} |
|
|
|
|
|
|
|
public String getSortColumns() { |
|
|
|
return sortColumns; |
|
|
|
} |
|
|
|
|
|
|
|
public List<Long> getIds() { |
|
|
|
return ids; |
|
|
|
} |
|
|
|
|
|
|
|
public void setIds(List<Long> ids) { |
|
|
|
this.ids = ids; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Transient |
|
|
|
private String salePriceStr; |
|
|
|
|
|
|
|
@Transient |
|
|
|
private String usePriceStr; |
|
|
|
|
|
|
|
@Transient |
|
|
|
private String priceStr; |
|
|
|
|
|
|
|
/*租户ID**/ |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") |
|
|
|
private String tenantId; |
|
|
|
/*商户id**/ |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="商户id",name="merchantId") |
|
|
|
private Long merchantId; |
|
|
|
/*券类型(1.满减券,2.代金券,3.团购券,4.礼品券,5.停车券)**/ |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="券类型(1.满减券,2.代金券,3.团购券,4.礼品券,5.停车券)",name="type") |
|
|
|
private Integer type; |
|
|
|
/*封面图**/ |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="封面图",name="coverImg") |
|
|
|
private String coverImg; |
|
|
|
/*券名称**/ |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="券名称",name="title") |
|
|
|
private String title; |
|
|
|
/*副标题**/ |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="副标题",name="subTitle") |
|
|
|
private String subTitle; |
|
|
|
/*售价(适用于类型2,3,4,5)**/ |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="售价(适用于类型2,3,4,5)",name="salePrice") |
|
|
|
private Integer salePrice; |
|
|
|
/*使用条件金额(适用于类型1,2,3,4)**/ |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="使用条件金额(适用于类型1,2,3,4)",name="usePrice") |
|
|
|
private Integer usePrice; |
|
|
|
/*限领张数**/ |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="限领张数",name="useLimitQuantity") |
|
|
|
private Integer useLimitQuantity; |
|
|
|
/*投放频道位置(1.banner图,2.限时抢购)**/ |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="投放频道位置(1.banner图,2.限时抢购)",name="targetAd") |
|
|
|
private Integer targetAd; |
|
|
|
/*1.主动领取2.定向投放**/ |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="1.主动领取2.定向投放",name="sendType") |
|
|
|
private Integer sendType; |
|
|
|
/*有效时间类型1.时间范围(valid_start_date,valid_end_date). 2领取后几日有效(valid_days)**/ |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="有效时间类型1.时间范围(valid_start_date,valid_end_date). 2领取后几日有效(valid_days)",name="validType") |
|
|
|
private Integer validType; |
|
|
|
/*有效日期-开始**/ |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="有效日期-开始",name="validStartDate") |
|
|
|
private Date validStartDate; |
|
|
|
/*有效日期-结束**/ |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="有效日期-结束",name="validEndDate") |
|
|
|
private Date validEndDate; |
|
|
|
/*自领取之日几日有效,(停车券当天有效)**/ |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="自领取之日几日有效,(停车券当天有效)",name="validDays") |
|
|
|
private Integer validDays; |
|
|
|
/*须知**/ |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="须知",name="detail") |
|
|
|
private String detail; |
|
|
|
/*面额**/ |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="面额",name="price") |
|
|
|
private Integer price; |
|
|
|
/*单位**/ |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="单位(0:rmb分 1:小时)",name="unit") |
|
|
|
private Integer unit; |
|
|
|
/*剩余库存**/ |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="剩余库存",name="remainInventory") |
|
|
|
private Integer remainInventory; |
|
|
|
/*总库存**/ |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="总库存",name="inventory") |
|
|
|
private Integer inventory; |
|
|
|
/*购买须知**/ |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="购买须知",name="remark") |
|
|
|
private String remark; |
|
|
|
/*状态(-1:全部,0:草稿/待生效,1:已生效,2:已失效,3:已作废)**/ |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="状态(-1:全部,0:草稿/待生效,1:已生效,2:已失效,3:已作废)",name="status") |
|
|
|
private Integer status; |
|
|
|
/*创建时间**/ |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="创建时间",name="createDate") |
|
|
|
private Date createDate; |
|
|
|
/*更新时间**/ |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="更新时间",name="updateDate") |
|
|
|
private Date updateDate; |
|
|
|
/*业态**/ |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="业态",name="business") |
|
|
|
private String business; |
|
|
|
/*车场厂商相关信息**/ |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="车场厂商相关信息",name="vendorParams") |
|
|
|
private String vendorParams; |
|
|
|
public String getTenantId() { |
|
|
|
return tenantId; |
|
|
|
} |
|
|
|
public void setTenantId(String _tenantId) { |
|
|
|
tenantId = _tenantId; |
|
|
|
} |
|
|
|
public Long getMerchantId() { |
|
|
|
return merchantId; |
|
|
|
} |
|
|
|
public void setMerchantId(Long _merchantId) { |
|
|
|
merchantId = _merchantId; |
|
|
|
} |
|
|
|
public Integer getType() { |
|
|
|
return type; |
|
|
|
} |
|
|
|
public void setType(Integer _type) { |
|
|
|
type = _type; |
|
|
|
} |
|
|
|
public String getCoverImg() { |
|
|
|
return coverImg; |
|
|
|
} |
|
|
|
public void setCoverImg(String _coverImg) { |
|
|
|
coverImg = _coverImg; |
|
|
|
} |
|
|
|
public String getTitle() { |
|
|
|
return title; |
|
|
|
} |
|
|
|
public void setTitle(String _title) { |
|
|
|
title = _title; |
|
|
|
} |
|
|
|
public String getSubTitle() { |
|
|
|
return subTitle; |
|
|
|
} |
|
|
|
public void setSubTitle(String _subTitle) { |
|
|
|
subTitle = _subTitle; |
|
|
|
} |
|
|
|
public Integer getSalePrice() { |
|
|
|
return salePrice; |
|
|
|
} |
|
|
|
public void setSalePrice(Integer _salePrice) { |
|
|
|
salePrice = _salePrice; |
|
|
|
} |
|
|
|
public Integer getUsePrice() { |
|
|
|
return usePrice; |
|
|
|
} |
|
|
|
public void setUsePrice(Integer _usePrice) { |
|
|
|
usePrice = _usePrice; |
|
|
|
} |
|
|
|
public Integer getUseLimitQuantity() { |
|
|
|
return useLimitQuantity; |
|
|
|
} |
|
|
|
public void setUseLimitQuantity(Integer _useLimitQuantity) { |
|
|
|
useLimitQuantity = _useLimitQuantity; |
|
|
|
} |
|
|
|
public Integer getTargetAd() { |
|
|
|
return targetAd; |
|
|
|
} |
|
|
|
public void setTargetAd(Integer _targetAd) { |
|
|
|
targetAd = _targetAd; |
|
|
|
} |
|
|
|
public Integer getSendType() { |
|
|
|
return sendType; |
|
|
|
} |
|
|
|
public void setSendType(Integer _sendType) { |
|
|
|
sendType = _sendType; |
|
|
|
} |
|
|
|
public Integer getValidType() { |
|
|
|
return validType; |
|
|
|
} |
|
|
|
public void setValidType(Integer _validType) { |
|
|
|
validType = _validType; |
|
|
|
} |
|
|
|
public Date getValidStartDate() { |
|
|
|
return validStartDate; |
|
|
|
} |
|
|
|
public void setValidStartDate(Date _validStartDate) { |
|
|
|
validStartDate = _validStartDate; |
|
|
|
} |
|
|
|
public Date getValidEndDate() { |
|
|
|
return validEndDate; |
|
|
|
} |
|
|
|
public void setValidEndDate(Date _validEndDate) { |
|
|
|
validEndDate = _validEndDate; |
|
|
|
} |
|
|
|
public Integer getValidDays() { |
|
|
|
return validDays; |
|
|
|
} |
|
|
|
public void setValidDays(Integer _validDays) { |
|
|
|
validDays = _validDays; |
|
|
|
} |
|
|
|
public String getDetail() { |
|
|
|
return detail; |
|
|
|
} |
|
|
|
public void setDetail(String _detail) { |
|
|
|
detail = _detail; |
|
|
|
} |
|
|
|
public Integer getPrice() { |
|
|
|
return price; |
|
|
|
} |
|
|
|
public void setPrice(Integer _price) { |
|
|
|
price = _price; |
|
|
|
} |
|
|
|
public Integer getUnit() { |
|
|
|
return unit; |
|
|
|
} |
|
|
|
public void setUnit(Integer _unit) { |
|
|
|
unit = _unit; |
|
|
|
} |
|
|
|
public Integer getRemainInventory() { |
|
|
|
return remainInventory; |
|
|
|
} |
|
|
|
public void setRemainInventory(Integer _remainInventory) { |
|
|
|
remainInventory = _remainInventory; |
|
|
|
} |
|
|
|
public Integer getInventory() { |
|
|
|
return inventory; |
|
|
|
} |
|
|
|
public void setInventory(Integer _inventory) { |
|
|
|
inventory = _inventory; |
|
|
|
} |
|
|
|
public String getRemark() { |
|
|
|
return remark; |
|
|
|
} |
|
|
|
public void setRemark(String _remark) { |
|
|
|
remark = _remark; |
|
|
|
} |
|
|
|
public Integer getStatus() { |
|
|
|
return status; |
|
|
|
} |
|
|
|
public void setStatus(Integer _status) { |
|
|
|
status = _status; |
|
|
|
} |
|
|
|
public Date getCreateDate() { |
|
|
|
return createDate; |
|
|
|
} |
|
|
|
public void setCreateDate(Date _createDate) { |
|
|
|
createDate = _createDate; |
|
|
|
} |
|
|
|
public Date getUpdateDate() { |
|
|
|
return updateDate; |
|
|
|
} |
|
|
|
public void setUpdateDate(Date _updateDate) { |
|
|
|
updateDate = _updateDate; |
|
|
|
} |
|
|
|
public String getBusiness() { |
|
|
|
return business; |
|
|
|
} |
|
|
|
public void setBusiness(String _business) { |
|
|
|
business = _business; |
|
|
|
} |
|
|
|
|
|
|
|
public String getVendorParams() { |
|
|
|
return vendorParams; |
|
|
|
} |
|
|
|
|
|
|
|
public void setVendorParams(String vendorParams) { |
|
|
|
this.vendorParams = vendorParams; |
|
|
|
} |
|
|
|
|
|
|
|
public String getSalePriceStr() { |
|
|
|
if(salePrice!=null) { |
|
|
|
DecimalFormat df=new DecimalFormat("0.00"); |
|
|
|
salePriceStr = df.format((float)salePrice/100); |
|
|
|
} |
|
|
|
return salePriceStr; |
|
|
|
} |
|
|
|
|
|
|
|
public void setSalePriceStr(String salePriceStr) { |
|
|
|
this.salePriceStr = salePriceStr; |
|
|
|
} |
|
|
|
|
|
|
|
public String getUsePriceStr() { |
|
|
|
if(usePrice!=null) { |
|
|
|
DecimalFormat df=new DecimalFormat("0.00"); |
|
|
|
usePriceStr = df.format((float)usePrice/100); |
|
|
|
} |
|
|
|
return usePriceStr; |
|
|
|
} |
|
|
|
|
|
|
|
public void setUsePriceStr(String usePriceStr) { |
|
|
|
this.usePriceStr = usePriceStr; |
|
|
|
} |
|
|
|
|
|
|
|
public String getPriceStr() { |
|
|
|
if(price!=null) { |
|
|
|
DecimalFormat df=new DecimalFormat("0.00"); |
|
|
|
priceStr = df.format((float)price/100); |
|
|
|
} |
|
|
|
return priceStr; |
|
|
|
} |
|
|
|
|
|
|
|
public void setPriceStr(String priceStr) { |
|
|
|
this.priceStr = priceStr; |
|
|
|
} |
|
|
|
|
|
|
|
public String getChannels() { |
|
|
|
return channels; |
|
|
|
} |
|
|
|
|
|
|
|
public void setChannels(String channels) { |
|
|
|
this.channels = channels; |
|
|
|
} |
|
|
|
} |