18586361686
2025-04-21 4453533319a3e21ace5d041a94a10212afffde4e
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
package tech.aiflowy.ai.entity.base;
 
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
 
import java.io.Serializable;
import java.time.LocalDateTime;
 
 
public class AiBotApiKeyBase implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    /**
     * id
     */
    @Id(keyType = KeyType.Generator, value = "snowFlakeId", comment = "id")
    private Long id;
 
    /**
     * apiKey
     */
    @Id(comment = "apiKey")@Column(value = "apiKey", comment = "apiKey")
    private String apiKey;
 
    /**
     * 创建时间
     */
    @Column(comment = "创建时间")
    private LocalDateTime created;
 
    /**
     * 状态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 LocalDateTime getCreated() {
        return created;
    }
 
    public void setCreated(LocalDateTime created) {
        this.created = created;
    }
 
    public Integer getStatus() {
        return status;
    }
 
    public void setStatus(Integer status) {
        this.status = status;
    }
 
}