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

cn.vertxup.erp.domain.tables.pojos.RTeamEmployee Maven / Gradle / Ivy

There is a newer version: 0.9.0
Show newest version
/*
 * This file is generated by jOOQ.
 */
package cn.vertxup.erp.domain.tables.pojos;


import cn.vertxup.erp.domain.tables.interfaces.IRTeamEmployee;

import io.github.jklingsporn.vertx.jooq.shared.internal.VertxPojo;


import static io.github.jklingsporn.vertx.jooq.shared.internal.VertxPojo.*;
/**
 * This class is generated by jOOQ.
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class RTeamEmployee implements VertxPojo, IRTeamEmployee {

    private static final long serialVersionUID = 1L;

    private String teamId;
    private String employeeId;
    private String comment;

    public RTeamEmployee() {}

    public RTeamEmployee(IRTeamEmployee value) {
        this.teamId = value.getTeamId();
        this.employeeId = value.getEmployeeId();
        this.comment = value.getComment();
    }

    public RTeamEmployee(
        String teamId,
        String employeeId,
        String comment
    ) {
        this.teamId = teamId;
        this.employeeId = employeeId;
        this.comment = comment;
    }

        public RTeamEmployee(io.vertx.core.json.JsonObject json) {
                this();
                fromJson(json);
        }

    /**
     * Getter for DB_ETERNAL.R_TEAM_EMPLOYEE.TEAM_ID. 「teamId」-
     * 组的ID
     */
    @Override
    public String getTeamId() {
        return this.teamId;
    }

    /**
     * Setter for DB_ETERNAL.R_TEAM_EMPLOYEE.TEAM_ID. 「teamId」-
     * 组的ID
     */
    @Override
    public RTeamEmployee setTeamId(String teamId) {
        this.teamId = teamId;
        return this;
    }

    /**
     * Getter for DB_ETERNAL.R_TEAM_EMPLOYEE.EMPLOYEE_ID.
     * 「employeeId」- 员工ID
     */
    @Override
    public String getEmployeeId() {
        return this.employeeId;
    }

    /**
     * Setter for DB_ETERNAL.R_TEAM_EMPLOYEE.EMPLOYEE_ID.
     * 「employeeId」- 员工ID
     */
    @Override
    public RTeamEmployee setEmployeeId(String employeeId) {
        this.employeeId = employeeId;
        return this;
    }

    /**
     * Getter for DB_ETERNAL.R_TEAM_EMPLOYEE.COMMENT. 「comment」-
     * 关系备注
     */
    @Override
    public String getComment() {
        return this.comment;
    }

    /**
     * Setter for DB_ETERNAL.R_TEAM_EMPLOYEE.COMMENT. 「comment」-
     * 关系备注
     */
    @Override
    public RTeamEmployee setComment(String comment) {
        this.comment = comment;
        return this;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder("RTeamEmployee (");

        sb.append(teamId);
        sb.append(", ").append(employeeId);
        sb.append(", ").append(comment);

        sb.append(")");
        return sb.toString();
    }

    // -------------------------------------------------------------------------
    // FROM and INTO
    // -------------------------------------------------------------------------

    @Override
    public void from(IRTeamEmployee from) {
        setTeamId(from.getTeamId());
        setEmployeeId(from.getEmployeeId());
        setComment(from.getComment());
    }

    @Override
    public  E into(E into) {
        into.from(this);
        return into;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy