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 databases = new ArrayList<>(); }