package com.ssm.data;

public enum DataSourceType {
    slave("slave","从库"),
    master("master","主库");
    private String type;
    private String name;
    DataSourceType(String type,String name){
        this.name = name;
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public String getName() {
        return name;
    }
}
