cn.vonce.sql.bean.Column Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vonce-sqlbean-core Show documentation
Show all versions of vonce-sqlbean-core Show documentation
This is the core project of Sqlbean.
package cn.vonce.sql.bean;
import java.io.Serializable;
/**
* Column
*
* @author Jovi
* @version 1.0
* @email [email protected]
* @date 2020年3月1日上午10:00:00
*/
public class Column implements Serializable {
public Column() {
super();
}
public Column(String name) {
this("", name, "");
}
public Column(String name, String alias) {
this("", name, alias);
}
public Column(String tableAlias, String name, String alias) {
this.tableAlias = tableAlias;
this.name = name;
this.alias = alias;
}
private String tableAlias;
private String name;
private String alias;
public String getTableAlias() {
return tableAlias;
}
public void setTableAlias(String tableAlias) {
this.tableAlias = tableAlias;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getAlias() {
return alias;
}
public void setAlias(String alias) {
this.alias = alias;
}
@Override
public String toString() {
return name;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy