package com.aps.entity.codeGeneratorEntity;

public class DatabaseConfig {
    private String url;
    private String username;
    private String password;
    private String driverClassName;
    private String dbType; // mysql, oracle, sqlserver

    // 构造方法、getter、setter
    public DatabaseConfig() {}

    public DatabaseConfig(String url, String username, String password, String driverClassName) {
        this.url = url;
        this.username = username;
        this.password = password;
        this.driverClassName = driverClassName;
    }

    // getter 和 setter 方法
    public String getUrl() { return url; }
    public void setUrl(String url) { this.url = url; }
    public String getUsername() { return username; }
    public void setUsername(String username) { this.username = username; }
    public String getPassword() { return password; }
    public void setPassword(String password) { this.password = password; }
    public String getDriverClassName() { return driverClassName; }
    public void setDriverClassName(String driverClassName) { this.driverClassName = driverClassName; }
    public String getDbType() { return dbType; }
    public void setDbType(String dbType) { this.dbType = dbType; }
}