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
| package com.hx.redis.templates.entity;
|
| import lombok.AllArgsConstructor;
| import lombok.Data;
| import lombok.NoArgsConstructor;
|
| import java.io.Serializable;
| import java.util.ArrayList;
| import java.util.List;
|
| /**
| * redisconfig 配置实体类
| *
| * @author CJH
| * @date 2022-06-27
| */
| @Data
| @AllArgsConstructor
| @NoArgsConstructor
| public class RedissondbConfigEntity implements Serializable {
| /**地址*/
| private String host;
| /**端口*/
| private String port;
| /**密码*/
| private String password;
| /**所有的db序号*/
| private List<Integer> databases = new ArrayList<>();
| }
|
|