吉安感知网项目-后端
xiebin
2026-01-06 d207a86cdf1ab52ef8cb7cd83bad8fceab8038cf
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
package org.sxkj.system.entity;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import org.sxkj.common.handler.ListToStringTypeHandler;
 
import java.util.Date;
import java.util.List;
 
/**
 * License管理实体类
 */
@Data
@TableName(value = "manage_license")
public class ManageLicense {
 
    public static final Integer CHECK_EXPIRE_TIME = 2;
    //不用校验过期时间
    public static final Integer NOT_CHECK_EXPIRE_TIME = 1;
 
    /**
     * 主键ID
     */
    private Long id;
 
    /**
     * 机构ID
     */
    private String licenseId;
 
    /**
     * 机构名称
     */
    private String licenseName;
 
    /**
     * 类型:1-不验证过期时间,2-验证过期时间
     */
    private Integer licenseType;
 
    /**
     * 过期时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date expireDay;
 
    /**
     * 设备数量 -1表示不显示数量
     */
    private Integer printClientCount=-1;
 
    /**
     * 是否校验机器码:1-校验,0-不校验
     */
    private Boolean checkMachineCode;
 
    /**
     * 机器码
     */
    private String machineCode;
 
    /**
     * 创建人
     */
    private Long createBy;
 
    /**
     * 创建时间
     */
    private Date createTime;
 
    /**
     * 证书地址
     */
    private String url;
 
    /**
     * 备注
     */
    private String remark;
 
 
}