自动化立体仓库 - WCS系统
#
whycq
2024-02-01 43c47d17ab873af88a224e2e92607572da8ee849
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
88
89
90
91
92
93
94
95
96
package com.zy.system.entity.license;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
 
import java.io.Serializable;
import java.util.Date;
 
/**
 * License生成类需要的参数
 */
@Data
public class LicenseCreatorParam implements Serializable {
 
    private static final long serialVersionUID = -7793154252684580872L;
    /**
     * 证书subject
     */
    private String subject;
 
    /**
     * 密钥别称
     */
    private String privateAlias;
 
    /**
     * 密钥密码(需要妥善保管,不能让使用者知道)
     */
    private String keyPass;
 
    /**
     * 访问秘钥库的密码
     */
    private String storePass;
 
    /**
     * 证书生成路径
     */
    private String licensePath;
 
    /**
     * 密钥库存储路径
     */
    private String privateKeysStorePath;
 
    /**
     * 证书生效时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date issuedTime = new Date();
 
    /**
     * 证书失效时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date expiryTime;
 
    /**
     * 用户类型
     */
    private String consumerType = "user";
 
    /**
     * 用户数量
     */
    private Integer consumerAmount = 1;
 
    /**
     * 描述信息
     */
    private String description = "";
 
    /**
     * 额外的服务器硬件校验信息
     */
    private LicenseCheck licenseCheck;
 
    @Override
    public String toString() {
        return "LicenseCreatorParam{" +
                "subject='" + subject + '\'' +
                ", privateAlias='" + privateAlias + '\'' +
                ", keyPass='" + keyPass + '\'' +
                ", storePass='" + storePass + '\'' +
                ", licensePath='" + licensePath + '\'' +
                ", privateKeysStorePath='" + privateKeysStorePath + '\'' +
                ", issuedTime=" + issuedTime +
                ", expiryTime=" + expiryTime +
                ", consumerType='" + consumerType + '\'' +
                ", consumerAmount=" + consumerAmount +
                ", description='" + description + '\'' +
                ", licenseCheck=" + licenseCheck +
                '}';
    }
 
}