package com.dsh.account.model.dto;
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
@Data
|
public class Coupon {
|
/**
|
* 主键
|
*/
|
private Integer id;
|
/**
|
* 优惠券名称
|
*/
|
private String name;
|
/**
|
* 优惠券类型(1=满减券,2=代金券,3=体验券)
|
*/
|
private Integer type;
|
/**
|
* 优惠券规则JSON
|
*/
|
private String content;
|
/**
|
* 优惠券说明
|
*/
|
private String illustrate;
|
/**
|
* 发放方式(1=积分购买,2=注册赠送,3=自动发券)
|
*/
|
private Integer distributionMethod;
|
/**
|
* 兑换方式(1=积分,2=积分+现金)
|
*/
|
private Integer redemptionMethod;
|
/**
|
* 所需现金
|
*/
|
private BigDecimal cash;
|
/**
|
* 所属积分
|
*/
|
private BigDecimal integral;
|
/**
|
* 用户人群(1=全部用户,2=年度会员,3=已有学员用户)
|
*/
|
private Integer userPopulation;
|
/**
|
* 发放数量
|
*/
|
private Integer quantityIssued;
|
/**
|
* 限领数量
|
*/
|
private Integer pickUpQuantity;
|
/**
|
* 开始时间
|
*/
|
private Date startTime;
|
/**
|
* 结束时间
|
*/
|
private Date endTime;
|
/**
|
* 使用范围(1=全国,2=指定城市,3=指定门店)
|
*/
|
private Integer useScope;
|
/**
|
* 省
|
*/
|
private String province;
|
/**
|
* 省编号
|
*/
|
private String provinceCode;
|
/**
|
* 市
|
*/
|
private String city;
|
/**
|
* 市编号
|
*/
|
private String cityCode;
|
/**
|
* 审核状态(1=待审核,2=已通过,3=已拒绝)
|
*/
|
private Integer auditStatus;
|
/**
|
* 审核人id
|
*/
|
private Integer auditUserId;
|
/**
|
* 审核备注
|
*/
|
private String auditRemark;
|
/**
|
* 状态(1=未开始,2=已开始,3=已结束,4=已取消)
|
*/
|
private Integer status;
|
/**
|
* 状态(1=正常,2=冻结,3=删除)
|
*/
|
private Integer state;
|
/**
|
* 添加时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date insertTime;
|
/**
|
* 封面图
|
*/
|
private String cover;
|
/**
|
* 图片
|
*/
|
private String productImages;
|
}
|