18586361686
2025-04-30 efcf90cf662765d83cd265aa310e9c069d71ab9e
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
package tech.aiflowy.system.entity.base;
 
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
 
import java.io.Serializable;
import java.math.BigInteger;
import java.util.Date;
 
 
public class SysApiKeyBase implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    /**
     * id
     */
    @Id(keyType = KeyType.Generator, value = "snowFlakeId", comment = "id")
    private Long id;
 
    /**
     * apiKey
     */
    @Column(comment = "apiKey")
    private String apiKey;
 
    /**
     * 部门id
     */
    @Column(comment = "deptId")
    private BigInteger deptId;
 
    /**
     * 租户id
     */
    @Column(comment = "tenantId")
    private BigInteger tenantId;
 
    /**
     * 创建人
     */
    @Column(comment = "userId")
    private BigInteger userId;
 
    /**
     * 创建时间
     */
    @Column(comment = "创建时间")
    private Date created;
 
    /**
     * 失效时间
     */
    @Column(comment = "失效时间")
    private Date expiredAt;
 
    /**
     * 状态1启用 2失效
     */
    @Column(comment = "状态1启用 2失效")
    private Integer status;
 
    public Long getId() {
        return id;
    }
 
    public void setId(Long id) {
        this.id = id;
    }
 
    public String getApiKey() {
        return apiKey;
    }
 
    public void setApiKey(String apiKey) {
        this.apiKey = apiKey;
    }
 
    public Date getCreated() {
        return created;
    }
 
    public void setCreated(Date created) {
        this.created = created;
    }
 
    public Integer getStatus() {
        return status;
    }
 
    public void setStatus(Integer status) {
        this.status = status;
    }
 
    public BigInteger getDeptId() {
        return deptId;
    }
 
    public void setDeptId(BigInteger deptId) {
        this.deptId = deptId;
    }
 
    public BigInteger getTenantId() {
        return tenantId;
    }
 
    public void setTenantId(BigInteger tenantId) {
        this.tenantId = tenantId;
    }
 
    public BigInteger getCreatedBy() {
        return userId;
    }
 
    public void setCreatedBy(BigInteger userId) {
        this.userId = userId;
    }
 
    public Date getExpiredAt() {
        return expiredAt;
    }
 
    public void setExpiredAt(Date expiredAt) {
        this.expiredAt = expiredAt;
    }
}