vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/tables/pojos/UiList.java
/*
* This file is generated by jOOQ.
*/
package cn.vertxup.ui.domain.tables.pojos;
import cn.vertxup.ui.domain.tables.interfaces.IUiList;
import io.github.jklingsporn.vertx.jooq.shared.internal.VertxPojo;
import java.time.LocalDateTime;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class UiList implements VertxPojo, IUiList {
private static final long serialVersionUID = 1L;
private String key;
private String name;
private String code;
private String identifier;
private String vQuery;
private String vSearch;
private String vTable;
private String vSegment;
private Boolean dynamicColumn;
private Boolean dynamicSwitch;
private String optionsAjax;
private String optionsSubmit;
private String options;
private String classCombiner;
private Boolean active;
private String sigma;
private String metadata;
private String language;
private LocalDateTime createdAt;
private String createdBy;
private LocalDateTime updatedAt;
private String updatedBy;
public UiList() {}
public UiList(IUiList value) {
this.key = value.getKey();
this.name = value.getName();
this.code = value.getCode();
this.identifier = value.getIdentifier();
this.vQuery = value.getVQuery();
this.vSearch = value.getVSearch();
this.vTable = value.getVTable();
this.vSegment = value.getVSegment();
this.dynamicColumn = value.getDynamicColumn();
this.dynamicSwitch = value.getDynamicSwitch();
this.optionsAjax = value.getOptionsAjax();
this.optionsSubmit = value.getOptionsSubmit();
this.options = value.getOptions();
this.classCombiner = value.getClassCombiner();
this.active = value.getActive();
this.sigma = value.getSigma();
this.metadata = value.getMetadata();
this.language = value.getLanguage();
this.createdAt = value.getCreatedAt();
this.createdBy = value.getCreatedBy();
this.updatedAt = value.getUpdatedAt();
this.updatedBy = value.getUpdatedBy();
}
public UiList(
String key,
String name,
String code,
String identifier,
String vQuery,
String vSearch,
String vTable,
String vSegment,
Boolean dynamicColumn,
Boolean dynamicSwitch,
String optionsAjax,
String optionsSubmit,
String options,
String classCombiner,
Boolean active,
String sigma,
String metadata,
String language,
LocalDateTime createdAt,
String createdBy,
LocalDateTime updatedAt,
String updatedBy
) {
this.key = key;
this.name = name;
this.code = code;
this.identifier = identifier;
this.vQuery = vQuery;
this.vSearch = vSearch;
this.vTable = vTable;
this.vSegment = vSegment;
this.dynamicColumn = dynamicColumn;
this.dynamicSwitch = dynamicSwitch;
this.optionsAjax = optionsAjax;
this.optionsSubmit = optionsSubmit;
this.options = options;
this.classCombiner = classCombiner;
this.active = active;
this.sigma = sigma;
this.metadata = metadata;
this.language = language;
this.createdAt = createdAt;
this.createdBy = createdBy;
this.updatedAt = updatedAt;
this.updatedBy = updatedBy;
}
public UiList(io.vertx.core.json.JsonObject json) {
this();
fromJson(json);
}
/**
* Getter for <code>DB_ETERNAL.UI_LIST.KEY</code>. 「key」- 主键
*/
@Override
public String getKey() {
return this.key;
}
/**
* Setter for <code>DB_ETERNAL.UI_LIST.KEY</code>. 「key」- 主键
*/
@Override
public UiList setKey(String key) {
this.key = key;
return this;
}
/**
* Getter for <code>DB_ETERNAL.UI_LIST.NAME</code>. 「name」- 名称
*/
@Override
public String getName() {
return this.name;
}
/**
* Setter for <code>DB_ETERNAL.UI_LIST.NAME</code>. 「name」- 名称
*/
@Override
public UiList setName(String name) {
this.name = name;
return this;
}
/**
* Getter for <code>DB_ETERNAL.UI_LIST.CODE</code>. 「code」- 系统编码
*/
@Override
public String getCode() {
return this.code;
}
/**
* Setter for <code>DB_ETERNAL.UI_LIST.CODE</code>. 「code」- 系统编码
*/
@Override
public UiList setCode(String code) {
this.code = code;
return this;
}
/**
* Getter for <code>DB_ETERNAL.UI_LIST.IDENTIFIER</code>. 「identifier」-
* 表单所属的模型ID
*/
@Override
public String getIdentifier() {
return this.identifier;
}
/**
* Setter for <code>DB_ETERNAL.UI_LIST.IDENTIFIER</code>. 「identifier」-
* 表单所属的模型ID
*/
@Override
public UiList setIdentifier(String identifier) {
this.identifier = identifier;
return this;
}
/**
* Getter for <code>DB_ETERNAL.UI_LIST.V_QUERY</code>. 「vQuery」- 连接query到
* grid -> query 节点
*/
@Override
public String getVQuery() {
return this.vQuery;
}
/**
* Setter for <code>DB_ETERNAL.UI_LIST.V_QUERY</code>. 「vQuery」- 连接query到
* grid -> query 节点
*/
@Override
public UiList setVQuery(String vQuery) {
this.vQuery = vQuery;
return this;
}
/**
* Getter for <code>DB_ETERNAL.UI_LIST.V_SEARCH</code>. 「vSearch」- 连接search到
* grid -> options 节点
*/
@Override
public String getVSearch() {
return this.vSearch;
}
/**
* Setter for <code>DB_ETERNAL.UI_LIST.V_SEARCH</code>. 「vSearch」- 连接search到
* grid -> options 节点
*/
@Override
public UiList setVSearch(String vSearch) {
this.vSearch = vSearch;
return this;
}
/**
* Getter for <code>DB_ETERNAL.UI_LIST.V_TABLE</code>. 「vTable」- 连接table到
* grid -> table 节点
*/
@Override
public String getVTable() {
return this.vTable;
}
/**
* Setter for <code>DB_ETERNAL.UI_LIST.V_TABLE</code>. 「vTable」- 连接table到
* grid -> table 节点
*/
@Override
public UiList setVTable(String vTable) {
this.vTable = vTable;
return this;
}
/**
* Getter for <code>DB_ETERNAL.UI_LIST.V_SEGMENT</code>. 「vSegment」-
* Json结构,对应到 grid -> component 节点
*/
@Override
public String getVSegment() {
return this.vSegment;
}
/**
* Setter for <code>DB_ETERNAL.UI_LIST.V_SEGMENT</code>. 「vSegment」-
* Json结构,对应到 grid -> component 节点
*/
@Override
public UiList setVSegment(String vSegment) {
this.vSegment = vSegment;
return this;
}
/**
* Getter for <code>DB_ETERNAL.UI_LIST.DYNAMIC_COLUMN</code>.
* 「dynamicColumn」- 动态列?
*/
@Override
public Boolean getDynamicColumn() {
return this.dynamicColumn;
}
/**
* Setter for <code>DB_ETERNAL.UI_LIST.DYNAMIC_COLUMN</code>.
* 「dynamicColumn」- 动态列?
*/
@Override
public UiList setDynamicColumn(Boolean dynamicColumn) {
this.dynamicColumn = dynamicColumn;
return this;
}
/**
* Getter for <code>DB_ETERNAL.UI_LIST.DYNAMIC_SWITCH</code>.
* 「dynamicSwitch」- 动态切换?
*/
@Override
public Boolean getDynamicSwitch() {
return this.dynamicSwitch;
}
/**
* Setter for <code>DB_ETERNAL.UI_LIST.DYNAMIC_SWITCH</code>.
* 「dynamicSwitch」- 动态切换?
*/
@Override
public UiList setDynamicSwitch(Boolean dynamicSwitch) {
this.dynamicSwitch = dynamicSwitch;
return this;
}
/**
* Getter for <code>DB_ETERNAL.UI_LIST.OPTIONS_AJAX</code>. 「optionsAjax」-
* 所有 ajax系列的配置
*/
@Override
public String getOptionsAjax() {
return this.optionsAjax;
}
/**
* Setter for <code>DB_ETERNAL.UI_LIST.OPTIONS_AJAX</code>. 「optionsAjax」-
* 所有 ajax系列的配置
*/
@Override
public UiList setOptionsAjax(String optionsAjax) {
this.optionsAjax = optionsAjax;
return this;
}
/**
* Getter for <code>DB_ETERNAL.UI_LIST.OPTIONS_SUBMIT</code>.
* 「optionsSubmit」- 所有提交类的配置
*/
@Override
public String getOptionsSubmit() {
return this.optionsSubmit;
}
/**
* Setter for <code>DB_ETERNAL.UI_LIST.OPTIONS_SUBMIT</code>.
* 「optionsSubmit」- 所有提交类的配置
*/
@Override
public UiList setOptionsSubmit(String optionsSubmit) {
this.optionsSubmit = optionsSubmit;
return this;
}
/**
* Getter for <code>DB_ETERNAL.UI_LIST.OPTIONS</code>. 「options」- 配置项
*/
@Override
public String getOptions() {
return this.options;
}
/**
* Setter for <code>DB_ETERNAL.UI_LIST.OPTIONS</code>. 「options」- 配置项
*/
@Override
public UiList setOptions(String options) {
this.options = options;
return this;
}
/**
* Getter for <code>DB_ETERNAL.UI_LIST.CLASS_COMBINER</code>.
* 「classCombiner」- 组装器
*/
@Override
public String getClassCombiner() {
return this.classCombiner;
}
/**
* Setter for <code>DB_ETERNAL.UI_LIST.CLASS_COMBINER</code>.
* 「classCombiner」- 组装器
*/
@Override
public UiList setClassCombiner(String classCombiner) {
this.classCombiner = classCombiner;
return this;
}
/**
* Getter for <code>DB_ETERNAL.UI_LIST.ACTIVE</code>. 「active」- 是否启用
*/
@Override
public Boolean getActive() {
return this.active;
}
/**
* Setter for <code>DB_ETERNAL.UI_LIST.ACTIVE</code>. 「active」- 是否启用
*/
@Override
public UiList setActive(Boolean active) {
this.active = active;
return this;
}
/**
* Getter for <code>DB_ETERNAL.UI_LIST.SIGMA</code>. 「sigma」- 统一标识
*/
@Override
public String getSigma() {
return this.sigma;
}
/**
* Setter for <code>DB_ETERNAL.UI_LIST.SIGMA</code>. 「sigma」- 统一标识
*/
@Override
public UiList setSigma(String sigma) {
this.sigma = sigma;
return this;
}
/**
* Getter for <code>DB_ETERNAL.UI_LIST.METADATA</code>. 「metadata」- 附加配置
*/
@Override
public String getMetadata() {
return this.metadata;
}
/**
* Setter for <code>DB_ETERNAL.UI_LIST.METADATA</code>. 「metadata」- 附加配置
*/
@Override
public UiList setMetadata(String metadata) {
this.metadata = metadata;
return this;
}
/**
* Getter for <code>DB_ETERNAL.UI_LIST.LANGUAGE</code>. 「language」- 使用的语言
*/
@Override
public String getLanguage() {
return this.language;
}
/**
* Setter for <code>DB_ETERNAL.UI_LIST.LANGUAGE</code>. 「language」- 使用的语言
*/
@Override
public UiList setLanguage(String language) {
this.language = language;
return this;
}
/**
* Getter for <code>DB_ETERNAL.UI_LIST.CREATED_AT</code>. 「createdAt」- 创建时间
*/
@Override
public LocalDateTime getCreatedAt() {
return this.createdAt;
}
/**
* Setter for <code>DB_ETERNAL.UI_LIST.CREATED_AT</code>. 「createdAt」- 创建时间
*/
@Override
public UiList setCreatedAt(LocalDateTime createdAt) {
this.createdAt = createdAt;
return this;
}
/**
* Getter for <code>DB_ETERNAL.UI_LIST.CREATED_BY</code>. 「createdBy」- 创建人
*/
@Override
public String getCreatedBy() {
return this.createdBy;
}
/**
* Setter for <code>DB_ETERNAL.UI_LIST.CREATED_BY</code>. 「createdBy」- 创建人
*/
@Override
public UiList setCreatedBy(String createdBy) {
this.createdBy = createdBy;
return this;
}
/**
* Getter for <code>DB_ETERNAL.UI_LIST.UPDATED_AT</code>. 「updatedAt」- 更新时间
*/
@Override
public LocalDateTime getUpdatedAt() {
return this.updatedAt;
}
/**
* Setter for <code>DB_ETERNAL.UI_LIST.UPDATED_AT</code>. 「updatedAt」- 更新时间
*/
@Override
public UiList setUpdatedAt(LocalDateTime updatedAt) {
this.updatedAt = updatedAt;
return this;
}
/**
* Getter for <code>DB_ETERNAL.UI_LIST.UPDATED_BY</code>. 「updatedBy」- 更新人
*/
@Override
public String getUpdatedBy() {
return this.updatedBy;
}
/**
* Setter for <code>DB_ETERNAL.UI_LIST.UPDATED_BY</code>. 「updatedBy」- 更新人
*/
@Override
public UiList setUpdatedBy(String updatedBy) {
this.updatedBy = updatedBy;
return this;
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
final UiList other = (UiList) obj;
if (this.key == null) {
if (other.key != null)
return false;
}
else if (!this.key.equals(other.key))
return false;
if (this.name == null) {
if (other.name != null)
return false;
}
else if (!this.name.equals(other.name))
return false;
if (this.code == null) {
if (other.code != null)
return false;
}
else if (!this.code.equals(other.code))
return false;
if (this.identifier == null) {
if (other.identifier != null)
return false;
}
else if (!this.identifier.equals(other.identifier))
return false;
if (this.vQuery == null) {
if (other.vQuery != null)
return false;
}
else if (!this.vQuery.equals(other.vQuery))
return false;
if (this.vSearch == null) {
if (other.vSearch != null)
return false;
}
else if (!this.vSearch.equals(other.vSearch))
return false;
if (this.vTable == null) {
if (other.vTable != null)
return false;
}
else if (!this.vTable.equals(other.vTable))
return false;
if (this.vSegment == null) {
if (other.vSegment != null)
return false;
}
else if (!this.vSegment.equals(other.vSegment))
return false;
if (this.dynamicColumn == null) {
if (other.dynamicColumn != null)
return false;
}
else if (!this.dynamicColumn.equals(other.dynamicColumn))
return false;
if (this.dynamicSwitch == null) {
if (other.dynamicSwitch != null)
return false;
}
else if (!this.dynamicSwitch.equals(other.dynamicSwitch))
return false;
if (this.optionsAjax == null) {
if (other.optionsAjax != null)
return false;
}
else if (!this.optionsAjax.equals(other.optionsAjax))
return false;
if (this.optionsSubmit == null) {
if (other.optionsSubmit != null)
return false;
}
else if (!this.optionsSubmit.equals(other.optionsSubmit))
return false;
if (this.options == null) {
if (other.options != null)
return false;
}
else if (!this.options.equals(other.options))
return false;
if (this.classCombiner == null) {
if (other.classCombiner != null)
return false;
}
else if (!this.classCombiner.equals(other.classCombiner))
return false;
if (this.active == null) {
if (other.active != null)
return false;
}
else if (!this.active.equals(other.active))
return false;
if (this.sigma == null) {
if (other.sigma != null)
return false;
}
else if (!this.sigma.equals(other.sigma))
return false;
if (this.metadata == null) {
if (other.metadata != null)
return false;
}
else if (!this.metadata.equals(other.metadata))
return false;
if (this.language == null) {
if (other.language != null)
return false;
}
else if (!this.language.equals(other.language))
return false;
if (this.createdAt == null) {
if (other.createdAt != null)
return false;
}
else if (!this.createdAt.equals(other.createdAt))
return false;
if (this.createdBy == null) {
if (other.createdBy != null)
return false;
}
else if (!this.createdBy.equals(other.createdBy))
return false;
if (this.updatedAt == null) {
if (other.updatedAt != null)
return false;
}
else if (!this.updatedAt.equals(other.updatedAt))
return false;
if (this.updatedBy == null) {
if (other.updatedBy != null)
return false;
}
else if (!this.updatedBy.equals(other.updatedBy))
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((this.key == null) ? 0 : this.key.hashCode());
result = prime * result + ((this.name == null) ? 0 : this.name.hashCode());
result = prime * result + ((this.code == null) ? 0 : this.code.hashCode());
result = prime * result + ((this.identifier == null) ? 0 : this.identifier.hashCode());
result = prime * result + ((this.vQuery == null) ? 0 : this.vQuery.hashCode());
result = prime * result + ((this.vSearch == null) ? 0 : this.vSearch.hashCode());
result = prime * result + ((this.vTable == null) ? 0 : this.vTable.hashCode());
result = prime * result + ((this.vSegment == null) ? 0 : this.vSegment.hashCode());
result = prime * result + ((this.dynamicColumn == null) ? 0 : this.dynamicColumn.hashCode());
result = prime * result + ((this.dynamicSwitch == null) ? 0 : this.dynamicSwitch.hashCode());
result = prime * result + ((this.optionsAjax == null) ? 0 : this.optionsAjax.hashCode());
result = prime * result + ((this.optionsSubmit == null) ? 0 : this.optionsSubmit.hashCode());
result = prime * result + ((this.options == null) ? 0 : this.options.hashCode());
result = prime * result + ((this.classCombiner == null) ? 0 : this.classCombiner.hashCode());
result = prime * result + ((this.active == null) ? 0 : this.active.hashCode());
result = prime * result + ((this.sigma == null) ? 0 : this.sigma.hashCode());
result = prime * result + ((this.metadata == null) ? 0 : this.metadata.hashCode());
result = prime * result + ((this.language == null) ? 0 : this.language.hashCode());
result = prime * result + ((this.createdAt == null) ? 0 : this.createdAt.hashCode());
result = prime * result + ((this.createdBy == null) ? 0 : this.createdBy.hashCode());
result = prime * result + ((this.updatedAt == null) ? 0 : this.updatedAt.hashCode());
result = prime * result + ((this.updatedBy == null) ? 0 : this.updatedBy.hashCode());
return result;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("UiList (");
sb.append(key);
sb.append(", ").append(name);
sb.append(", ").append(code);
sb.append(", ").append(identifier);
sb.append(", ").append(vQuery);
sb.append(", ").append(vSearch);
sb.append(", ").append(vTable);
sb.append(", ").append(vSegment);
sb.append(", ").append(dynamicColumn);
sb.append(", ").append(dynamicSwitch);
sb.append(", ").append(optionsAjax);
sb.append(", ").append(optionsSubmit);
sb.append(", ").append(options);
sb.append(", ").append(classCombiner);
sb.append(", ").append(active);
sb.append(", ").append(sigma);
sb.append(", ").append(metadata);
sb.append(", ").append(language);
sb.append(", ").append(createdAt);
sb.append(", ").append(createdBy);
sb.append(", ").append(updatedAt);
sb.append(", ").append(updatedBy);
sb.append(")");
return sb.toString();
}
// -------------------------------------------------------------------------
// FROM and INTO
// -------------------------------------------------------------------------
@Override
public void from(IUiList from) {
setKey(from.getKey());
setName(from.getName());
setCode(from.getCode());
setIdentifier(from.getIdentifier());
setVQuery(from.getVQuery());
setVSearch(from.getVSearch());
setVTable(from.getVTable());
setVSegment(from.getVSegment());
setDynamicColumn(from.getDynamicColumn());
setDynamicSwitch(from.getDynamicSwitch());
setOptionsAjax(from.getOptionsAjax());
setOptionsSubmit(from.getOptionsSubmit());
setOptions(from.getOptions());
setClassCombiner(from.getClassCombiner());
setActive(from.getActive());
setSigma(from.getSigma());
setMetadata(from.getMetadata());
setLanguage(from.getLanguage());
setCreatedAt(from.getCreatedAt());
setCreatedBy(from.getCreatedBy());
setUpdatedAt(from.getUpdatedAt());
setUpdatedBy(from.getUpdatedBy());
}
@Override
public <E extends IUiList> E into(E into) {
into.from(this);
return into;
}
}