wangrenhuang
2023-06-13 25a075e3b12a7cb26886e19b405c4ad7df05e629
提交 | 用户 | age
3ce49a 1 package com.hz.phis.dt.promotion;
F 2
3 import com.fasterxml.jackson.annotation.JsonFormat;
4 import lombok.Data;
5 import org.springframework.format.annotation.DateTimeFormat;
6
7 import java.math.BigDecimal;
8 import java.util.List;
9
10 /**
11  * 促销列表实体
12  *
13  * @author fwq
14  */
15 @Data
16 public class PromotionListDt {
17     /**p-his的促销标识*/
18     private String id;
19     /**上下架*/
20     private Integer isUp;
21     /**编号*/
22     private String code;
23     /**促销名*/
24     private String name;
25     /**类型new_user新客old_user老客*/
26     private String type;
27     /**状态:not_start未开始,in_progress正在进行中,stop_start已结束,stop_pause暂停*/
28     private String status;
29     /**接口id*/
30     private String apiId;
31     /**促销总金额*/
32     private BigDecimal total;
33     /**门店标识*/
34     private String shopId;
35     /**门店名称*/
36     private String shopName;
37     /**有效开始时间*/
38     @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
39     @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
40     private String startTime;
41     /**有效结束时间*/
42     @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
43     @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
44     private String endTime;
45     /**删除*/
46     private Integer isDel;
47
48     private List<PromotionDt> list;
49 }