cn.vertxup.erp.domain.tables.pojos.ETeam Maven / Gradle / Ivy
/*
* This file is generated by jOOQ.
*/
package cn.vertxup.erp.domain.tables.pojos;
import cn.vertxup.erp.domain.tables.interfaces.IETeam;
import io.github.jklingsporn.vertx.jooq.shared.internal.VertxPojo;
import java.time.LocalDateTime;
import static io.github.jklingsporn.vertx.jooq.shared.internal.VertxPojo.*;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ETeam implements VertxPojo, IETeam {
private static final long serialVersionUID = 1L;
private String key;
private String name;
private String code;
private String leaderId;
private String leaderName;
private String deptId;
private String teamId;
private String comment;
private String metadata;
private Boolean active;
private String sigma;
private String language;
private LocalDateTime createdAt;
private String createdBy;
private LocalDateTime updatedAt;
private String updatedBy;
public ETeam() {}
public ETeam(IETeam value) {
this.key = value.getKey();
this.name = value.getName();
this.code = value.getCode();
this.leaderId = value.getLeaderId();
this.leaderName = value.getLeaderName();
this.deptId = value.getDeptId();
this.teamId = value.getTeamId();
this.comment = value.getComment();
this.metadata = value.getMetadata();
this.active = value.getActive();
this.sigma = value.getSigma();
this.language = value.getLanguage();
this.createdAt = value.getCreatedAt();
this.createdBy = value.getCreatedBy();
this.updatedAt = value.getUpdatedAt();
this.updatedBy = value.getUpdatedBy();
}
public ETeam(
String key,
String name,
String code,
String leaderId,
String leaderName,
String deptId,
String teamId,
String comment,
String metadata,
Boolean active,
String sigma,
String language,
LocalDateTime createdAt,
String createdBy,
LocalDateTime updatedAt,
String updatedBy
) {
this.key = key;
this.name = name;
this.code = code;
this.leaderId = leaderId;
this.leaderName = leaderName;
this.deptId = deptId;
this.teamId = teamId;
this.comment = comment;
this.metadata = metadata;
this.active = active;
this.sigma = sigma;
this.language = language;
this.createdAt = createdAt;
this.createdBy = createdBy;
this.updatedAt = updatedAt;
this.updatedBy = updatedBy;
}
public ETeam(io.vertx.core.json.JsonObject json) {
this();
fromJson(json);
}
/**
* Getter for DB_ETERNAL.E_TEAM.KEY
. 「key」- 组主键
*/
@Override
public String getKey() {
return this.key;
}
/**
* Setter for DB_ETERNAL.E_TEAM.KEY
. 「key」- 组主键
*/
@Override
public ETeam setKey(String key) {
this.key = key;
return this;
}
/**
* Getter for DB_ETERNAL.E_TEAM.NAME
. 「name」- 组名称
*/
@Override
public String getName() {
return this.name;
}
/**
* Setter for DB_ETERNAL.E_TEAM.NAME
. 「name」- 组名称
*/
@Override
public ETeam setName(String name) {
this.name = name;
return this;
}
/**
* Getter for DB_ETERNAL.E_TEAM.CODE
. 「code」- 组编号
*/
@Override
public String getCode() {
return this.code;
}
/**
* Setter for DB_ETERNAL.E_TEAM.CODE
. 「code」- 组编号
*/
@Override
public ETeam setCode(String code) {
this.code = code;
return this;
}
/**
* Getter for DB_ETERNAL.E_TEAM.LEADER_ID
. 「leaderId」- 组长
*/
@Override
public String getLeaderId() {
return this.leaderId;
}
/**
* Setter for DB_ETERNAL.E_TEAM.LEADER_ID
. 「leaderId」- 组长
*/
@Override
public ETeam setLeaderId(String leaderId) {
this.leaderId = leaderId;
return this;
}
/**
* Getter for DB_ETERNAL.E_TEAM.LEADER_NAME
. 「leaderName」- 组长姓名
*/
@Override
public String getLeaderName() {
return this.leaderName;
}
/**
* Setter for DB_ETERNAL.E_TEAM.LEADER_NAME
. 「leaderName」- 组长姓名
*/
@Override
public ETeam setLeaderName(String leaderName) {
this.leaderName = leaderName;
return this;
}
/**
* Getter for DB_ETERNAL.E_TEAM.DEPT_ID
. 「deptId」- 所属部门
*/
@Override
public String getDeptId() {
return this.deptId;
}
/**
* Setter for DB_ETERNAL.E_TEAM.DEPT_ID
. 「deptId」- 所属部门
*/
@Override
public ETeam setDeptId(String deptId) {
this.deptId = deptId;
return this;
}
/**
* Getter for DB_ETERNAL.E_TEAM.TEAM_ID
. 「teamId」- 父组ID
*/
@Override
public String getTeamId() {
return this.teamId;
}
/**
* Setter for DB_ETERNAL.E_TEAM.TEAM_ID
. 「teamId」- 父组ID
*/
@Override
public ETeam setTeamId(String teamId) {
this.teamId = teamId;
return this;
}
/**
* Getter for DB_ETERNAL.E_TEAM.COMMENT
. 「comment」- 组备注
*/
@Override
public String getComment() {
return this.comment;
}
/**
* Setter for DB_ETERNAL.E_TEAM.COMMENT
. 「comment」- 组备注
*/
@Override
public ETeam setComment(String comment) {
this.comment = comment;
return this;
}
/**
* Getter for DB_ETERNAL.E_TEAM.METADATA
. 「metadata」- 附加配置
*/
@Override
public String getMetadata() {
return this.metadata;
}
/**
* Setter for DB_ETERNAL.E_TEAM.METADATA
. 「metadata」- 附加配置
*/
@Override
public ETeam setMetadata(String metadata) {
this.metadata = metadata;
return this;
}
/**
* Getter for DB_ETERNAL.E_TEAM.ACTIVE
. 「active」- 是否启用
*/
@Override
public Boolean getActive() {
return this.active;
}
/**
* Setter for DB_ETERNAL.E_TEAM.ACTIVE
. 「active」- 是否启用
*/
@Override
public ETeam setActive(Boolean active) {
this.active = active;
return this;
}
/**
* Getter for DB_ETERNAL.E_TEAM.SIGMA
. 「sigma」- 统一标识
*/
@Override
public String getSigma() {
return this.sigma;
}
/**
* Setter for DB_ETERNAL.E_TEAM.SIGMA
. 「sigma」- 统一标识
*/
@Override
public ETeam setSigma(String sigma) {
this.sigma = sigma;
return this;
}
/**
* Getter for DB_ETERNAL.E_TEAM.LANGUAGE
. 「language」- 使用的语言
*/
@Override
public String getLanguage() {
return this.language;
}
/**
* Setter for DB_ETERNAL.E_TEAM.LANGUAGE
. 「language」- 使用的语言
*/
@Override
public ETeam setLanguage(String language) {
this.language = language;
return this;
}
/**
* Getter for DB_ETERNAL.E_TEAM.CREATED_AT
. 「createdAt」- 创建时间
*/
@Override
public LocalDateTime getCreatedAt() {
return this.createdAt;
}
/**
* Setter for DB_ETERNAL.E_TEAM.CREATED_AT
. 「createdAt」- 创建时间
*/
@Override
public ETeam setCreatedAt(LocalDateTime createdAt) {
this.createdAt = createdAt;
return this;
}
/**
* Getter for DB_ETERNAL.E_TEAM.CREATED_BY
. 「createdBy」- 创建人
*/
@Override
public String getCreatedBy() {
return this.createdBy;
}
/**
* Setter for DB_ETERNAL.E_TEAM.CREATED_BY
. 「createdBy」- 创建人
*/
@Override
public ETeam setCreatedBy(String createdBy) {
this.createdBy = createdBy;
return this;
}
/**
* Getter for DB_ETERNAL.E_TEAM.UPDATED_AT
. 「updatedAt」- 更新时间
*/
@Override
public LocalDateTime getUpdatedAt() {
return this.updatedAt;
}
/**
* Setter for DB_ETERNAL.E_TEAM.UPDATED_AT
. 「updatedAt」- 更新时间
*/
@Override
public ETeam setUpdatedAt(LocalDateTime updatedAt) {
this.updatedAt = updatedAt;
return this;
}
/**
* Getter for DB_ETERNAL.E_TEAM.UPDATED_BY
. 「updatedBy」- 更新人
*/
@Override
public String getUpdatedBy() {
return this.updatedBy;
}
/**
* Setter for DB_ETERNAL.E_TEAM.UPDATED_BY
. 「updatedBy」- 更新人
*/
@Override
public ETeam setUpdatedBy(String updatedBy) {
this.updatedBy = updatedBy;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("ETeam (");
sb.append(key);
sb.append(", ").append(name);
sb.append(", ").append(code);
sb.append(", ").append(leaderId);
sb.append(", ").append(leaderName);
sb.append(", ").append(deptId);
sb.append(", ").append(teamId);
sb.append(", ").append(comment);
sb.append(", ").append(metadata);
sb.append(", ").append(active);
sb.append(", ").append(sigma);
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(IETeam from) {
setKey(from.getKey());
setName(from.getName());
setCode(from.getCode());
setLeaderId(from.getLeaderId());
setLeaderName(from.getLeaderName());
setDeptId(from.getDeptId());
setTeamId(from.getTeamId());
setComment(from.getComment());
setMetadata(from.getMetadata());
setActive(from.getActive());
setSigma(from.getSigma());
setLanguage(from.getLanguage());
setCreatedAt(from.getCreatedAt());
setCreatedBy(from.getCreatedBy());
setUpdatedAt(from.getUpdatedAt());
setUpdatedBy(from.getUpdatedBy());
}
@Override
public E into(E into) {
into.from(this);
return into;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy