| | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import lombok.Data; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | |
| | | @Data |
| | |
| | | private String name; |
| | | //活动编码 |
| | | private String code; |
| | | //开始时间 |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date startTime; |
| | | //结束时间 |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date endTime; |
| | | //活动大图 |
| | | private String maxImage; |
| | | //活动小图 |
| | | private String minImage; |
| | | //开始时间 |
| | | @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
| | | private Date startTime; |
| | | //结束时间 |
| | | @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
| | | private Date endTime; |
| | | //活动状态 1-开启 0-关闭 |
| | | private Integer state; |
| | | //活动说明 |
| | |
| | | * 活动类型 1、折扣 2、优惠券 |
| | | */ |
| | | private Integer type; |
| | | |
| | | private Long couponId;//优惠券id |
| | | |
| | | private BigDecimal discountSize;//折扣粒度 |
| | | |
| | | private String activityGoodsIds;//关联的商品ids |
| | | } |