提交 | 用户 | age
|
da6731
|
1 |
package com.hx.redisson.entity; |
C |
2 |
|
|
3 |
import lombok.AllArgsConstructor; |
|
4 |
import lombok.Data; |
|
5 |
import lombok.NoArgsConstructor; |
|
6 |
|
|
7 |
import java.io.Serializable; |
|
8 |
import java.util.ArrayList; |
|
9 |
import java.util.List; |
|
10 |
|
|
11 |
/** |
|
12 |
* redisconfig 配置实体类 |
|
13 |
* |
|
14 |
* @author CJH |
|
15 |
* @date 2022-06-27 |
|
16 |
*/ |
|
17 |
@Data |
|
18 |
@AllArgsConstructor |
|
19 |
@NoArgsConstructor |
|
20 |
public class RedissondbConfigEntity implements Serializable { |
|
21 |
/**地址*/ |
|
22 |
private String host; |
|
23 |
/**端口*/ |
|
24 |
private String port; |
|
25 |
/**密码*/ |
|
26 |
private String password; |
|
27 |
/**所有的db序号*/ |
|
28 |
private List<Integer> databases = new ArrayList<>(); |
|
29 |
} |
|
30 |
|