cn.vertxup.erp.domain.tables.pojos.EEmployee Maven / Gradle / Ivy
/*
* This file is generated by jOOQ.
*/
package cn.vertxup.erp.domain.tables.pojos;
import cn.vertxup.erp.domain.tables.interfaces.IEEmployee;
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 EEmployee implements VertxPojo, IEEmployee {
private static final long serialVersionUID = 1L;
private String key;
private String companyId;
private String deptId;
private String teamId;
private String identityId;
private String viceName;
private String viceEmail;
private String viceMobile;
private String workNumber;
private String workTitle;
private String workLocation;
private String workPhone;
private String workExtension;
private String type;
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 EEmployee() {}
public EEmployee(IEEmployee value) {
this.key = value.getKey();
this.companyId = value.getCompanyId();
this.deptId = value.getDeptId();
this.teamId = value.getTeamId();
this.identityId = value.getIdentityId();
this.viceName = value.getViceName();
this.viceEmail = value.getViceEmail();
this.viceMobile = value.getViceMobile();
this.workNumber = value.getWorkNumber();
this.workTitle = value.getWorkTitle();
this.workLocation = value.getWorkLocation();
this.workPhone = value.getWorkPhone();
this.workExtension = value.getWorkExtension();
this.type = value.getType();
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 EEmployee(
String key,
String companyId,
String deptId,
String teamId,
String identityId,
String viceName,
String viceEmail,
String viceMobile,
String workNumber,
String workTitle,
String workLocation,
String workPhone,
String workExtension,
String type,
String metadata,
Boolean active,
String sigma,
String language,
LocalDateTime createdAt,
String createdBy,
LocalDateTime updatedAt,
String updatedBy
) {
this.key = key;
this.companyId = companyId;
this.deptId = deptId;
this.teamId = teamId;
this.identityId = identityId;
this.viceName = viceName;
this.viceEmail = viceEmail;
this.viceMobile = viceMobile;
this.workNumber = workNumber;
this.workTitle = workTitle;
this.workLocation = workLocation;
this.workPhone = workPhone;
this.workExtension = workExtension;
this.type = type;
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 EEmployee(io.vertx.core.json.JsonObject json) {
this();
fromJson(json);
}
/**
* Getter for DB_ETERNAL.E_EMPLOYEE.KEY
. 「key」- 员工主键
*/
@Override
public String getKey() {
return this.key;
}
/**
* Setter for DB_ETERNAL.E_EMPLOYEE.KEY
. 「key」- 员工主键
*/
@Override
public EEmployee setKey(String key) {
this.key = key;
return this;
}
/**
* Getter for DB_ETERNAL.E_EMPLOYEE.COMPANY_ID
. 「companyId」-
* 所属公司
*/
@Override
public String getCompanyId() {
return this.companyId;
}
/**
* Setter for DB_ETERNAL.E_EMPLOYEE.COMPANY_ID
. 「companyId」-
* 所属公司
*/
@Override
public EEmployee setCompanyId(String companyId) {
this.companyId = companyId;
return this;
}
/**
* Getter for DB_ETERNAL.E_EMPLOYEE.DEPT_ID
. 「deptId」- 所属部门
*/
@Override
public String getDeptId() {
return this.deptId;
}
/**
* Setter for DB_ETERNAL.E_EMPLOYEE.DEPT_ID
. 「deptId」- 所属部门
*/
@Override
public EEmployee setDeptId(String deptId) {
this.deptId = deptId;
return this;
}
/**
* Getter for DB_ETERNAL.E_EMPLOYEE.TEAM_ID
. 「teamId」- 所属组
*/
@Override
public String getTeamId() {
return this.teamId;
}
/**
* Setter for DB_ETERNAL.E_EMPLOYEE.TEAM_ID
. 「teamId」- 所属组
*/
@Override
public EEmployee setTeamId(String teamId) {
this.teamId = teamId;
return this;
}
/**
* Getter for DB_ETERNAL.E_EMPLOYEE.IDENTITY_ID
. 「identityId」-
* 关联档案
*/
@Override
public String getIdentityId() {
return this.identityId;
}
/**
* Setter for DB_ETERNAL.E_EMPLOYEE.IDENTITY_ID
. 「identityId」-
* 关联档案
*/
@Override
public EEmployee setIdentityId(String identityId) {
this.identityId = identityId;
return this;
}
/**
* Getter for DB_ETERNAL.E_EMPLOYEE.VICE_NAME
. 「viceName」- 员工姓名
*/
@Override
public String getViceName() {
return this.viceName;
}
/**
* Setter for DB_ETERNAL.E_EMPLOYEE.VICE_NAME
. 「viceName」- 员工姓名
*/
@Override
public EEmployee setViceName(String viceName) {
this.viceName = viceName;
return this;
}
/**
* Getter for DB_ETERNAL.E_EMPLOYEE.VICE_EMAIL
. 「viceEmail」-
* 员工邮箱
*/
@Override
public String getViceEmail() {
return this.viceEmail;
}
/**
* Setter for DB_ETERNAL.E_EMPLOYEE.VICE_EMAIL
. 「viceEmail」-
* 员工邮箱
*/
@Override
public EEmployee setViceEmail(String viceEmail) {
this.viceEmail = viceEmail;
return this;
}
/**
* Getter for DB_ETERNAL.E_EMPLOYEE.VICE_MOBILE
. 「viceMobile」-
* 员工手机
*/
@Override
public String getViceMobile() {
return this.viceMobile;
}
/**
* Setter for DB_ETERNAL.E_EMPLOYEE.VICE_MOBILE
. 「viceMobile」-
* 员工手机
*/
@Override
public EEmployee setViceMobile(String viceMobile) {
this.viceMobile = viceMobile;
return this;
}
/**
* Getter for DB_ETERNAL.E_EMPLOYEE.WORK_NUMBER
. 「workNumber」-
* 工号
*/
@Override
public String getWorkNumber() {
return this.workNumber;
}
/**
* Setter for DB_ETERNAL.E_EMPLOYEE.WORK_NUMBER
. 「workNumber」-
* 工号
*/
@Override
public EEmployee setWorkNumber(String workNumber) {
this.workNumber = workNumber;
return this;
}
/**
* Getter for DB_ETERNAL.E_EMPLOYEE.WORK_TITLE
. 「workTitle」- 头衔
*/
@Override
public String getWorkTitle() {
return this.workTitle;
}
/**
* Setter for DB_ETERNAL.E_EMPLOYEE.WORK_TITLE
. 「workTitle」- 头衔
*/
@Override
public EEmployee setWorkTitle(String workTitle) {
this.workTitle = workTitle;
return this;
}
/**
* Getter for DB_ETERNAL.E_EMPLOYEE.WORK_LOCATION
.
* 「workLocation」- 办公地点
*/
@Override
public String getWorkLocation() {
return this.workLocation;
}
/**
* Setter for DB_ETERNAL.E_EMPLOYEE.WORK_LOCATION
.
* 「workLocation」- 办公地点
*/
@Override
public EEmployee setWorkLocation(String workLocation) {
this.workLocation = workLocation;
return this;
}
/**
* Getter for DB_ETERNAL.E_EMPLOYEE.WORK_PHONE
. 「workPhone」-
* 办公电话
*/
@Override
public String getWorkPhone() {
return this.workPhone;
}
/**
* Setter for DB_ETERNAL.E_EMPLOYEE.WORK_PHONE
. 「workPhone」-
* 办公电话
*/
@Override
public EEmployee setWorkPhone(String workPhone) {
this.workPhone = workPhone;
return this;
}
/**
* Getter for DB_ETERNAL.E_EMPLOYEE.WORK_EXTENSION
.
* 「workExtension」- 分机号
*/
@Override
public String getWorkExtension() {
return this.workExtension;
}
/**
* Setter for DB_ETERNAL.E_EMPLOYEE.WORK_EXTENSION
.
* 「workExtension」- 分机号
*/
@Override
public EEmployee setWorkExtension(String workExtension) {
this.workExtension = workExtension;
return this;
}
/**
* Getter for DB_ETERNAL.E_EMPLOYEE.TYPE
. 「type」- 员工分类
*/
@Override
public String getType() {
return this.type;
}
/**
* Setter for DB_ETERNAL.E_EMPLOYEE.TYPE
. 「type」- 员工分类
*/
@Override
public EEmployee setType(String type) {
this.type = type;
return this;
}
/**
* Getter for DB_ETERNAL.E_EMPLOYEE.METADATA
. 「metadata」- 附加配置
*/
@Override
public String getMetadata() {
return this.metadata;
}
/**
* Setter for DB_ETERNAL.E_EMPLOYEE.METADATA
. 「metadata」- 附加配置
*/
@Override
public EEmployee setMetadata(String metadata) {
this.metadata = metadata;
return this;
}
/**
* Getter for DB_ETERNAL.E_EMPLOYEE.ACTIVE
. 「active」- 是否启用
*/
@Override
public Boolean getActive() {
return this.active;
}
/**
* Setter for DB_ETERNAL.E_EMPLOYEE.ACTIVE
. 「active」- 是否启用
*/
@Override
public EEmployee setActive(Boolean active) {
this.active = active;
return this;
}
/**
* Getter for DB_ETERNAL.E_EMPLOYEE.SIGMA
. 「sigma」-
* 统一标识(公司所属应用)
*/
@Override
public String getSigma() {
return this.sigma;
}
/**
* Setter for DB_ETERNAL.E_EMPLOYEE.SIGMA
. 「sigma」-
* 统一标识(公司所属应用)
*/
@Override
public EEmployee setSigma(String sigma) {
this.sigma = sigma;
return this;
}
/**
* Getter for DB_ETERNAL.E_EMPLOYEE.LANGUAGE
. 「language」- 使用的语言
*/
@Override
public String getLanguage() {
return this.language;
}
/**
* Setter for DB_ETERNAL.E_EMPLOYEE.LANGUAGE
. 「language」- 使用的语言
*/
@Override
public EEmployee setLanguage(String language) {
this.language = language;
return this;
}
/**
* Getter for DB_ETERNAL.E_EMPLOYEE.CREATED_AT
. 「createdAt」-
* 创建时间
*/
@Override
public LocalDateTime getCreatedAt() {
return this.createdAt;
}
/**
* Setter for DB_ETERNAL.E_EMPLOYEE.CREATED_AT
. 「createdAt」-
* 创建时间
*/
@Override
public EEmployee setCreatedAt(LocalDateTime createdAt) {
this.createdAt = createdAt;
return this;
}
/**
* Getter for DB_ETERNAL.E_EMPLOYEE.CREATED_BY
. 「createdBy」-
* 创建人
*/
@Override
public String getCreatedBy() {
return this.createdBy;
}
/**
* Setter for DB_ETERNAL.E_EMPLOYEE.CREATED_BY
. 「createdBy」-
* 创建人
*/
@Override
public EEmployee setCreatedBy(String createdBy) {
this.createdBy = createdBy;
return this;
}
/**
* Getter for DB_ETERNAL.E_EMPLOYEE.UPDATED_AT
. 「updatedAt」-
* 更新时间
*/
@Override
public LocalDateTime getUpdatedAt() {
return this.updatedAt;
}
/**
* Setter for DB_ETERNAL.E_EMPLOYEE.UPDATED_AT
. 「updatedAt」-
* 更新时间
*/
@Override
public EEmployee setUpdatedAt(LocalDateTime updatedAt) {
this.updatedAt = updatedAt;
return this;
}
/**
* Getter for DB_ETERNAL.E_EMPLOYEE.UPDATED_BY
. 「updatedBy」-
* 更新人
*/
@Override
public String getUpdatedBy() {
return this.updatedBy;
}
/**
* Setter for DB_ETERNAL.E_EMPLOYEE.UPDATED_BY
. 「updatedBy」-
* 更新人
*/
@Override
public EEmployee setUpdatedBy(String updatedBy) {
this.updatedBy = updatedBy;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("EEmployee (");
sb.append(key);
sb.append(", ").append(companyId);
sb.append(", ").append(deptId);
sb.append(", ").append(teamId);
sb.append(", ").append(identityId);
sb.append(", ").append(viceName);
sb.append(", ").append(viceEmail);
sb.append(", ").append(viceMobile);
sb.append(", ").append(workNumber);
sb.append(", ").append(workTitle);
sb.append(", ").append(workLocation);
sb.append(", ").append(workPhone);
sb.append(", ").append(workExtension);
sb.append(", ").append(type);
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(IEEmployee from) {
setKey(from.getKey());
setCompanyId(from.getCompanyId());
setDeptId(from.getDeptId());
setTeamId(from.getTeamId());
setIdentityId(from.getIdentityId());
setViceName(from.getViceName());
setViceEmail(from.getViceEmail());
setViceMobile(from.getViceMobile());
setWorkNumber(from.getWorkNumber());
setWorkTitle(from.getWorkTitle());
setWorkLocation(from.getWorkLocation());
setWorkPhone(from.getWorkPhone());
setWorkExtension(from.getWorkExtension());
setType(from.getType());
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