All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.zengtengpeng.autoCode.config.TableConfig Maven / Gradle / Ivy

There is a newer version: 2.1.6
Show newest version
package com.zengtengpeng.autoCode.config;

import com.zengtengpeng.autoCode.utils.MyStringUtils;

public class TableConfig {
    //表名称
    private String dataName;

    //别名 不写默认采用驼峰命名法 test_code->TestCode
    private String aliasName;


    public String getDataName() {
        return dataName;
    }

    public void setDataName(String dataName) {
        this.dataName = dataName;
    }

    public String getAliasName() {
        if(MyStringUtils.isEmpty(aliasName)){
            return MyStringUtils.upperCase_(dataName,true);
        }
        return aliasName;
    }

    public void setAliasName(String aliasName) {
        this.aliasName = aliasName;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy