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

cn.vertxup.erp.domain.tables.interfaces.IEContract 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 java.math.BigDecimal;
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 interface IEContract extends VertxPojo, Serializable {

    /**
     * Setter for DB_ETERNAL.E_CONTRACT.KEY. 「key」- 合同主键
     */
    public IEContract setKey(String value);

    /**
     * Getter for DB_ETERNAL.E_CONTRACT.KEY. 「key」- 合同主键
     */
    public String getKey();

    /**
     * Setter for DB_ETERNAL.E_CONTRACT.NAME. 「name」- 合同名称
     */
    public IEContract setName(String value);

    /**
     * Getter for DB_ETERNAL.E_CONTRACT.NAME. 「name」- 合同名称
     */
    public String getName();

    /**
     * Setter for DB_ETERNAL.E_CONTRACT.CODE. 「code」- 合同编号
     */
    public IEContract setCode(String value);

    /**
     * Getter for DB_ETERNAL.E_CONTRACT.CODE. 「code」- 合同编号
     */
    public String getCode();

    /**
     * Setter for DB_ETERNAL.E_CONTRACT.TITLE. 「title」- 合同标题
     */
    public IEContract setTitle(String value);

    /**
     * Getter for DB_ETERNAL.E_CONTRACT.TITLE. 「title」- 合同标题
     */
    public String getTitle();

    /**
     * Setter for DB_ETERNAL.E_CONTRACT.FILE_KEY. 「fileKey」-
     * 合同附件Key
     */
    public IEContract setFileKey(String value);

    /**
     * Getter for DB_ETERNAL.E_CONTRACT.FILE_KEY. 「fileKey」-
     * 合同附件Key
     */
    public String getFileKey();

    /**
     * Setter for DB_ETERNAL.E_CONTRACT.AMOUNT. 「amount」- 合同金额
     */
    public IEContract setAmount(BigDecimal value);

    /**
     * Getter for DB_ETERNAL.E_CONTRACT.AMOUNT. 「amount」- 合同金额
     */
    public BigDecimal getAmount();

    /**
     * Setter for DB_ETERNAL.E_CONTRACT.COMPANY_ID. 「companyId」-
     * 合同甲方
     */
    public IEContract setCompanyId(String value);

    /**
     * Getter for DB_ETERNAL.E_CONTRACT.COMPANY_ID. 「companyId」-
     * 合同甲方
     */
    public String getCompanyId();

    /**
     * Setter for DB_ETERNAL.E_CONTRACT.CUSTOMER_ID. 「customerId」-
     * 合同乙方
     */
    public IEContract setCustomerId(String value);

    /**
     * Getter for DB_ETERNAL.E_CONTRACT.CUSTOMER_ID. 「customerId」-
     * 合同乙方
     */
    public String getCustomerId();

    /**
     * Setter for DB_ETERNAL.E_CONTRACT.EXPIRED_AT. 「expiredAt」-
     * 过期时间
     */
    public IEContract setExpiredAt(LocalDateTime value);

    /**
     * Getter for DB_ETERNAL.E_CONTRACT.EXPIRED_AT. 「expiredAt」-
     * 过期时间
     */
    public LocalDateTime getExpiredAt();

    /**
     * Setter for DB_ETERNAL.E_CONTRACT.SIGNED_AT. 「signedAt」- 签订时间
     */
    public IEContract setSignedAt(LocalDateTime value);

    /**
     * Getter for DB_ETERNAL.E_CONTRACT.SIGNED_AT. 「signedAt」- 签订时间
     */
    public LocalDateTime getSignedAt();

    /**
     * Setter for DB_ETERNAL.E_CONTRACT.RUN_AT. 「runAt」- 生效时间
     */
    public IEContract setRunAt(LocalDateTime value);

    /**
     * Getter for DB_ETERNAL.E_CONTRACT.RUN_AT. 「runAt」- 生效时间
     */
    public LocalDateTime getRunAt();

    /**
     * Setter for DB_ETERNAL.E_CONTRACT.RUN_UP_AT. 「runUpAt」-
     * 挂账到期时间
     */
    public IEContract setRunUpAt(LocalDateTime value);

    /**
     * Getter for DB_ETERNAL.E_CONTRACT.RUN_UP_AT. 「runUpAt」-
     * 挂账到期时间
     */
    public LocalDateTime getRunUpAt();

    /**
     * Setter for DB_ETERNAL.E_CONTRACT.A_NAME. 「aName」- 甲方签订人
     */
    public IEContract setAName(String value);

    /**
     * Getter for DB_ETERNAL.E_CONTRACT.A_NAME. 「aName」- 甲方签订人
     */
    public String getAName();

    /**
     * Setter for DB_ETERNAL.E_CONTRACT.A_PHONE. 「aPhone」- 甲方签订人姓名
     */
    public IEContract setAPhone(String value);

    /**
     * Getter for DB_ETERNAL.E_CONTRACT.A_PHONE. 「aPhone」- 甲方签订人姓名
     */
    public String getAPhone();

    /**
     * Setter for DB_ETERNAL.E_CONTRACT.A_ADDRESS. 「aAddress」-
     * 甲方联系地址
     */
    public IEContract setAAddress(String value);

    /**
     * Getter for DB_ETERNAL.E_CONTRACT.A_ADDRESS. 「aAddress」-
     * 甲方联系地址
     */
    public String getAAddress();

    /**
     * Setter for DB_ETERNAL.E_CONTRACT.B_NAME. 「bName」- 乙方签订人
     */
    public IEContract setBName(String value);

    /**
     * Getter for DB_ETERNAL.E_CONTRACT.B_NAME. 「bName」- 乙方签订人
     */
    public String getBName();

    /**
     * Setter for DB_ETERNAL.E_CONTRACT.B_PHONE. 「bPhone」- 乙方签订人姓名
     */
    public IEContract setBPhone(String value);

    /**
     * Getter for DB_ETERNAL.E_CONTRACT.B_PHONE. 「bPhone」- 乙方签订人姓名
     */
    public String getBPhone();

    /**
     * Setter for DB_ETERNAL.E_CONTRACT.B_ADDRESS. 「bAddress」-
     * 乙方联系地址
     */
    public IEContract setBAddress(String value);

    /**
     * Getter for DB_ETERNAL.E_CONTRACT.B_ADDRESS. 「bAddress」-
     * 乙方联系地址
     */
    public String getBAddress();

    /**
     * Setter for DB_ETERNAL.E_CONTRACT.TYPE. 「type」- 合同分类
     */
    public IEContract setType(String value);

    /**
     * Getter for DB_ETERNAL.E_CONTRACT.TYPE. 「type」- 合同分类
     */
    public String getType();

    /**
     * Setter for DB_ETERNAL.E_CONTRACT.METADATA. 「metadata」- 附加配置
     */
    public IEContract setMetadata(String value);

    /**
     * Getter for DB_ETERNAL.E_CONTRACT.METADATA. 「metadata」- 附加配置
     */
    public String getMetadata();

    /**
     * Setter for DB_ETERNAL.E_CONTRACT.ACTIVE. 「active」- 是否启用
     */
    public IEContract setActive(Boolean value);

    /**
     * Getter for DB_ETERNAL.E_CONTRACT.ACTIVE. 「active」- 是否启用
     */
    public Boolean getActive();

    /**
     * Setter for DB_ETERNAL.E_CONTRACT.SIGMA. 「sigma」-
     * 统一标识(公司所属应用)
     */
    public IEContract setSigma(String value);

    /**
     * Getter for DB_ETERNAL.E_CONTRACT.SIGMA. 「sigma」-
     * 统一标识(公司所属应用)
     */
    public String getSigma();

    /**
     * Setter for DB_ETERNAL.E_CONTRACT.LANGUAGE. 「language」- 使用的语言
     */
    public IEContract setLanguage(String value);

    /**
     * Getter for DB_ETERNAL.E_CONTRACT.LANGUAGE. 「language」- 使用的语言
     */
    public String getLanguage();

    /**
     * Setter for DB_ETERNAL.E_CONTRACT.CREATED_AT. 「createdAt」-
     * 创建时间
     */
    public IEContract setCreatedAt(LocalDateTime value);

    /**
     * Getter for DB_ETERNAL.E_CONTRACT.CREATED_AT. 「createdAt」-
     * 创建时间
     */
    public LocalDateTime getCreatedAt();

    /**
     * Setter for DB_ETERNAL.E_CONTRACT.CREATED_BY. 「createdBy」-
     * 创建人
     */
    public IEContract setCreatedBy(String value);

    /**
     * Getter for DB_ETERNAL.E_CONTRACT.CREATED_BY. 「createdBy」-
     * 创建人
     */
    public String getCreatedBy();

    /**
     * Setter for DB_ETERNAL.E_CONTRACT.UPDATED_AT. 「updatedAt」-
     * 更新时间
     */
    public IEContract setUpdatedAt(LocalDateTime value);

    /**
     * Getter for DB_ETERNAL.E_CONTRACT.UPDATED_AT. 「updatedAt」-
     * 更新时间
     */
    public LocalDateTime getUpdatedAt();

    /**
     * Setter for DB_ETERNAL.E_CONTRACT.UPDATED_BY. 「updatedBy」-
     * 更新人
     */
    public IEContract setUpdatedBy(String value);

    /**
     * Getter for DB_ETERNAL.E_CONTRACT.UPDATED_BY. 「updatedBy」-
     * 更新人
     */
    public String getUpdatedBy();

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

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

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

        @Override
        public default IEContract fromJson(io.vertx.core.json.JsonObject json) {
                setOrThrow(this::setKey,json::getString,"KEY","java.lang.String");
                setOrThrow(this::setName,json::getString,"NAME","java.lang.String");
                setOrThrow(this::setCode,json::getString,"CODE","java.lang.String");
                setOrThrow(this::setTitle,json::getString,"TITLE","java.lang.String");
                setOrThrow(this::setFileKey,json::getString,"FILE_KEY","java.lang.String");
                // Omitting unrecognized type java.math.BigDecimal for column AMOUNT!
                setOrThrow(this::setCompanyId,json::getString,"COMPANY_ID","java.lang.String");
                setOrThrow(this::setCustomerId,json::getString,"CUSTOMER_ID","java.lang.String");
                setOrThrow(this::setExpiredAt,key -> {String s = json.getString(key); return s==null?null:java.time.LocalDateTime.parse(s);},"EXPIRED_AT","java.time.LocalDateTime");
                setOrThrow(this::setSignedAt,key -> {String s = json.getString(key); return s==null?null:java.time.LocalDateTime.parse(s);},"SIGNED_AT","java.time.LocalDateTime");
                setOrThrow(this::setRunAt,key -> {String s = json.getString(key); return s==null?null:java.time.LocalDateTime.parse(s);},"RUN_AT","java.time.LocalDateTime");
                setOrThrow(this::setRunUpAt,key -> {String s = json.getString(key); return s==null?null:java.time.LocalDateTime.parse(s);},"RUN_UP_AT","java.time.LocalDateTime");
                setOrThrow(this::setAName,json::getString,"A_NAME","java.lang.String");
                setOrThrow(this::setAPhone,json::getString,"A_PHONE","java.lang.String");
                setOrThrow(this::setAAddress,json::getString,"A_ADDRESS","java.lang.String");
                setOrThrow(this::setBName,json::getString,"B_NAME","java.lang.String");
                setOrThrow(this::setBPhone,json::getString,"B_PHONE","java.lang.String");
                setOrThrow(this::setBAddress,json::getString,"B_ADDRESS","java.lang.String");
                setOrThrow(this::setType,json::getString,"TYPE","java.lang.String");
                setOrThrow(this::setMetadata,json::getString,"METADATA","java.lang.String");
                setOrThrow(this::setActive,json::getBoolean,"ACTIVE","java.lang.Boolean");
                setOrThrow(this::setSigma,json::getString,"SIGMA","java.lang.String");
                setOrThrow(this::setLanguage,json::getString,"LANGUAGE","java.lang.String");
                setOrThrow(this::setCreatedAt,key -> {String s = json.getString(key); return s==null?null:java.time.LocalDateTime.parse(s);},"CREATED_AT","java.time.LocalDateTime");
                setOrThrow(this::setCreatedBy,json::getString,"CREATED_BY","java.lang.String");
                setOrThrow(this::setUpdatedAt,key -> {String s = json.getString(key); return s==null?null:java.time.LocalDateTime.parse(s);},"UPDATED_AT","java.time.LocalDateTime");
                setOrThrow(this::setUpdatedBy,json::getString,"UPDATED_BY","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("KEY",getKey());
                json.put("NAME",getName());
                json.put("CODE",getCode());
                json.put("TITLE",getTitle());
                json.put("FILE_KEY",getFileKey());
                // Omitting unrecognized type java.math.BigDecimal for column AMOUNT!
                json.put("COMPANY_ID",getCompanyId());
                json.put("CUSTOMER_ID",getCustomerId());
                json.put("EXPIRED_AT",getExpiredAt()==null?null:getExpiredAt().toString());
                json.put("SIGNED_AT",getSignedAt()==null?null:getSignedAt().toString());
                json.put("RUN_AT",getRunAt()==null?null:getRunAt().toString());
                json.put("RUN_UP_AT",getRunUpAt()==null?null:getRunUpAt().toString());
                json.put("A_NAME",getAName());
                json.put("A_PHONE",getAPhone());
                json.put("A_ADDRESS",getAAddress());
                json.put("B_NAME",getBName());
                json.put("B_PHONE",getBPhone());
                json.put("B_ADDRESS",getBAddress());
                json.put("TYPE",getType());
                json.put("METADATA",getMetadata());
                json.put("ACTIVE",getActive());
                json.put("SIGMA",getSigma());
                json.put("LANGUAGE",getLanguage());
                json.put("CREATED_AT",getCreatedAt()==null?null:getCreatedAt().toString());
                json.put("CREATED_BY",getCreatedBy());
                json.put("UPDATED_AT",getUpdatedAt()==null?null:getUpdatedAt().toString());
                json.put("UPDATED_BY",getUpdatedBy());
                return json;
        }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy