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