package com.sqx.sharding;

import lombok.Data;

import java.util.List;

/**
 * 读写分离配置
 */
@Data
public class MasterSlaveRules {

    /**
     * 写库
     */
    private String masterDataSourceName;

    /**
     * 读库
     */
    private List<String> slaveDataSourceNames;
}