fwq
2024-04-23 bdd39fac56c367b36d6c41ef2cd5c9f35926013f
提交 | 用户 | age
3ce49a 1 package com.hz.phis.dt.limit;
F 2
3 import com.fasterxml.jackson.annotation.JsonFormat;
4 import lombok.Data;
5 import org.springframework.format.annotation.DateTimeFormat;
6
7 import java.util.Date;
8
9 /**
10  * 总限制
11  * @author fwq
12  */
13 @Data
14 public class LimitTotalDt {
15     /**限制标识*/
16     private String id;
17     /**限制编码*/
18     private String code;
19     /**类型*/
20     private int type;
21     /**外键id(卡项/促销/项目标识)*/
22     private String foreignKey;
23     /**限制数量*/
24     private Integer limitNum;
25     /**限制总数量*/
26     private Integer limitSumNum;
27     /**客户类别标识*/
28     private String userTypeId;
29     /**客户类别名称*/
30     private String userTypeName;
31     /**发布范围(PlatformLimit:code)*/
32     private String isUpPlatform;
33     /**有效开始时间*/
34     @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
35     @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
36     private Date startTime;
37     /**有效结束时间*/
38     @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
39     @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
40     private Date endTime;
41     /**最后一次下单开始时间*/
42     @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
43     @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
44     private Date lastStartTime;
45     /**最后一次下单结束时间*/
46     @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
47     @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
48     private Date lastEndTime;
1e62dc 49     /**是否可用增值金结账*/
F 50     private Integer useIncrement;
51     /**是否可用优惠券结账*/
52     private Integer useCoupon;
3ce49a 53     /**类型-卡项*/
F 54     public static final Integer LIMIT_CARD_ITEM = 0;
55     /**类型-促销*/
56     public static final Integer LIMIT_PROMOTION = 1;
57     /**类型-项目*/
58     public static final Integer LIMIT_PROJECT = 2;
59     /**类型-商品(耗材)*/
60     public static final Integer LIMIT_CONSUMABLE = 3;
61 }