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

cn.vertxup.erp.domain.tables.interfaces.IRCompanyCustomer 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.interfaces;


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

import java.io.Serializable;


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

    /**
     * Setter for DB_ETERNAL.R_COMPANY_CUSTOMER.COMPANY_ID.
     * 「companyId」- 企业的ID
     */
    public IRCompanyCustomer setCompanyId(String value);

    /**
     * Getter for DB_ETERNAL.R_COMPANY_CUSTOMER.COMPANY_ID.
     * 「companyId」- 企业的ID
     */
    public String getCompanyId();

    /**
     * Setter for DB_ETERNAL.R_COMPANY_CUSTOMER.CUSTOMER_ID.
     * 「customerId」- 客户信息的ID
     */
    public IRCompanyCustomer setCustomerId(String value);

    /**
     * Getter for DB_ETERNAL.R_COMPANY_CUSTOMER.CUSTOMER_ID.
     * 「customerId」- 客户信息的ID
     */
    public String getCustomerId();

    /**
     * Setter for DB_ETERNAL.R_COMPANY_CUSTOMER.COMMENT. 「comment」-
     * 关系备注
     */
    public IRCompanyCustomer setComment(String value);

    /**
     * Getter for DB_ETERNAL.R_COMPANY_CUSTOMER.COMMENT. 「comment」-
     * 关系备注
     */
    public String getComment();

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

    /**
     * Load data from another generated Record/POJO implementing the common
     * interface IRCompanyCustomer
     */
    public void from(IRCompanyCustomer from);

    /**
     * Copy data into another generated Record/POJO implementing the common
     * interface IRCompanyCustomer
     */
    public  E into(E into);

        @Override
        public default IRCompanyCustomer fromJson(io.vertx.core.json.JsonObject json) {
                setOrThrow(this::setCompanyId,json::getString,"COMPANY_ID","java.lang.String");
                setOrThrow(this::setCustomerId,json::getString,"CUSTOMER_ID","java.lang.String");
                setOrThrow(this::setComment,json::getString,"COMMENT","java.lang.String");
                return this;
        }


        @Override
        public default io.vertx.core.json.JsonObject toJson() {
                io.vertx.core.json.JsonObject json = new io.vertx.core.json.JsonObject();
                json.put("COMPANY_ID",getCompanyId());
                json.put("CUSTOMER_ID",getCustomerId());
                json.put("COMMENT",getComment());
                return json;
        }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy