648540858
2024-04-10 b45d71ba6d7474dc21dfa54df37876429bf2ec46
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
package com.genersoft.iot.vmp.storager.dao.dto;
 
import io.swagger.v3.oas.annotations.media.Schema;
 
import java.io.Serializable;
 
/**
 * 用户信息
 */
@Schema(description = "用户ApiKey信息")
public class UserApiKey implements Serializable {
 
    /**
     * Id
     */
    @Schema(description = "Id")
    private int id;
 
    /**
     * 用户Id
     */
    @Schema(description = "用户Id")
    private int userId;
 
    /**
     * 应用名
     */
    @Schema(description = "应用名")
    private String app;
 
    /**
     * ApiKey
     */
    @Schema(description = "ApiKey")
    private String apiKey;
 
    /**
     * 过期时间(null=永不过期)
     */
    @Schema(description = "过期时间(null=永不过期)")
    private long expiredAt;
 
    /**
     * 备注信息
     */
    @Schema(description = "备注信息")
    private String remark;
 
    /**
     * 是否启用
     */
    @Schema(description = "是否启用")
    private boolean enable;
 
    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    private String createTime;
 
    /**
     * 更新时间
     */
    @Schema(description = "更新时间")
    private String updateTime;
 
    /**
     * 用户名
     */
    private String username;
 
    public int getId() {
        return id;
    }
 
    public void setId(int id) {
        this.id = id;
    }
 
    public int getUserId() {
        return userId;
    }
 
    public void setUserId(int userId) {
        this.userId = userId;
    }
 
    public String getApp() {
        return app;
    }
 
    public void setApp(String app) {
        this.app = app;
    }
 
    public String getApiKey() {
        return apiKey;
    }
 
    public void setApiKey(String apiKey) {
        this.apiKey = apiKey;
    }
 
    public long getExpiredAt() {
        return expiredAt;
    }
 
    public void setExpiredAt(long expiredAt) {
        this.expiredAt = expiredAt;
    }
 
    public String getRemark() {
        return remark;
    }
 
    public void setRemark(String remark) {
        this.remark = remark;
    }
 
    public boolean isEnable() {
        return enable;
    }
 
    public void setEnable(boolean enable) {
        this.enable = enable;
    }
 
    public String getCreateTime() {
        return createTime;
    }
 
    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
 
    public String getUpdateTime() {
        return updateTime;
    }
 
    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }
 
    public String getUsername() {
        return username;
    }
 
    public void setUsername(String username) {
        this.username = username;
    }
}