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

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


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

    /**
     * Setter for DB_ETERNAL.E_CUSTOMER.KEY. 「key」- 客户ID
     */
    public IECustomer setKey(String value);

    /**
     * Getter for DB_ETERNAL.E_CUSTOMER.KEY. 「key」- 客户ID
     */
    public String getKey();

    /**
     * Setter for DB_ETERNAL.E_CUSTOMER.COMMENT. 「comment」- 客户备注
     */
    public IECustomer setComment(String value);

    /**
     * Getter for DB_ETERNAL.E_CUSTOMER.COMMENT. 「comment」- 客户备注
     */
    public String getComment();

    /**
     * Setter for DB_ETERNAL.E_CUSTOMER.NAME. 「name」- 客户名称
     */
    public IECustomer setName(String value);

    /**
     * Getter for DB_ETERNAL.E_CUSTOMER.NAME. 「name」- 客户名称
     */
    public String getName();

    /**
     * Setter for DB_ETERNAL.E_CUSTOMER.TITLE. 「title」- 客户显示标题
     */
    public IECustomer setTitle(String value);

    /**
     * Getter for DB_ETERNAL.E_CUSTOMER.TITLE. 「title」- 客户显示标题
     */
    public String getTitle();

    /**
     * Setter for DB_ETERNAL.E_CUSTOMER.CODE. 「code」- 客户编号
     */
    public IECustomer setCode(String value);

    /**
     * Getter for DB_ETERNAL.E_CUSTOMER.CODE. 「code」- 客户编号
     */
    public String getCode();

    /**
     * Setter for DB_ETERNAL.E_CUSTOMER.TAX_CODE. 「taxCode」- 税号
     */
    public IECustomer setTaxCode(String value);

    /**
     * Getter for DB_ETERNAL.E_CUSTOMER.TAX_CODE. 「taxCode」- 税号
     */
    public String getTaxCode();

    /**
     * Setter for DB_ETERNAL.E_CUSTOMER.TAX_TITLE. 「taxTitle」- 开票抬头
     */
    public IECustomer setTaxTitle(String value);

    /**
     * Getter for DB_ETERNAL.E_CUSTOMER.TAX_TITLE. 「taxTitle」- 开票抬头
     */
    public String getTaxTitle();

    /**
     * Setter for DB_ETERNAL.E_CUSTOMER.CONTACT_NAME.
     * 「contactName」- 联系人姓名
     */
    public IECustomer setContactName(String value);

    /**
     * Getter for DB_ETERNAL.E_CUSTOMER.CONTACT_NAME.
     * 「contactName」- 联系人姓名
     */
    public String getContactName();

    /**
     * Setter for DB_ETERNAL.E_CUSTOMER.CONTACT_PHONE.
     * 「contactPhone」- 联系人电话
     */
    public IECustomer setContactPhone(String value);

    /**
     * Getter for DB_ETERNAL.E_CUSTOMER.CONTACT_PHONE.
     * 「contactPhone」- 联系人电话
     */
    public String getContactPhone();

    /**
     * Setter for DB_ETERNAL.E_CUSTOMER.CONTACT_EMAIL.
     * 「contactEmail」- 联系人Email
     */
    public IECustomer setContactEmail(String value);

    /**
     * Getter for DB_ETERNAL.E_CUSTOMER.CONTACT_EMAIL.
     * 「contactEmail」- 联系人Email
     */
    public String getContactEmail();

    /**
     * Setter for DB_ETERNAL.E_CUSTOMER.CONTACT_ONLINE.
     * 「contactOnline」- 在线联系方式
     */
    public IECustomer setContactOnline(String value);

    /**
     * Getter for DB_ETERNAL.E_CUSTOMER.CONTACT_ONLINE.
     * 「contactOnline」- 在线联系方式
     */
    public String getContactOnline();

    /**
     * Setter for DB_ETERNAL.E_CUSTOMER.EMAIL. 「email」- 企业邮箱
     */
    public IECustomer setEmail(String value);

    /**
     * Getter for DB_ETERNAL.E_CUSTOMER.EMAIL. 「email」- 企业邮箱
     */
    public String getEmail();

    /**
     * Setter for DB_ETERNAL.E_CUSTOMER.FAX. 「fax」- 传真号
     */
    public IECustomer setFax(String value);

    /**
     * Getter for DB_ETERNAL.E_CUSTOMER.FAX. 「fax」- 传真号
     */
    public String getFax();

    /**
     * Setter for DB_ETERNAL.E_CUSTOMER.HOMEPAGE. 「homepage」- 客户主页
     */
    public IECustomer setHomepage(String value);

    /**
     * Getter for DB_ETERNAL.E_CUSTOMER.HOMEPAGE. 「homepage」- 客户主页
     */
    public String getHomepage();

    /**
     * Setter for DB_ETERNAL.E_CUSTOMER.LOGO. 「logo」- 附件对应的
     * attachment Key
     */
    public IECustomer setLogo(String value);

    /**
     * Getter for DB_ETERNAL.E_CUSTOMER.LOGO. 「logo」- 附件对应的
     * attachment Key
     */
    public String getLogo();

    /**
     * Setter for DB_ETERNAL.E_CUSTOMER.PHONE. 「phone」- 客户座机
     */
    public IECustomer setPhone(String value);

    /**
     * Getter for DB_ETERNAL.E_CUSTOMER.PHONE. 「phone」- 客户座机
     */
    public String getPhone();

    /**
     * Setter for DB_ETERNAL.E_CUSTOMER.ADDRESS. 「address」- 客户地址
     */
    public IECustomer setAddress(String value);

    /**
     * Getter for DB_ETERNAL.E_CUSTOMER.ADDRESS. 「address」- 客户地址
     */
    public String getAddress();

    /**
     * Setter for DB_ETERNAL.E_CUSTOMER.RUN_UP. 「runUp」- 挂账属性
     */
    public IECustomer setRunUp(Boolean value);

    /**
     * Getter for DB_ETERNAL.E_CUSTOMER.RUN_UP. 「runUp」- 挂账属性
     */
    public Boolean getRunUp();

    /**
     * Setter for DB_ETERNAL.E_CUSTOMER.TYPE. 「type」-
     * 客户分类(不同类型代表不同客户)
     */
    public IECustomer setType(String value);

    /**
     * Getter for DB_ETERNAL.E_CUSTOMER.TYPE. 「type」-
     * 客户分类(不同类型代表不同客户)
     */
    public String getType();

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

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

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

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

    /**
     * Setter for DB_ETERNAL.E_CUSTOMER.SIGMA. 「sigma」-
     * 统一标识(客户所属应用)
     */
    public IECustomer setSigma(String value);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        @Override
        public default IECustomer fromJson(io.vertx.core.json.JsonObject json) {
                setOrThrow(this::setKey,json::getString,"KEY","java.lang.String");
                setOrThrow(this::setComment,json::getString,"COMMENT","java.lang.String");
                setOrThrow(this::setName,json::getString,"NAME","java.lang.String");
                setOrThrow(this::setTitle,json::getString,"TITLE","java.lang.String");
                setOrThrow(this::setCode,json::getString,"CODE","java.lang.String");
                setOrThrow(this::setTaxCode,json::getString,"TAX_CODE","java.lang.String");
                setOrThrow(this::setTaxTitle,json::getString,"TAX_TITLE","java.lang.String");
                setOrThrow(this::setContactName,json::getString,"CONTACT_NAME","java.lang.String");
                setOrThrow(this::setContactPhone,json::getString,"CONTACT_PHONE","java.lang.String");
                setOrThrow(this::setContactEmail,json::getString,"CONTACT_EMAIL","java.lang.String");
                setOrThrow(this::setContactOnline,json::getString,"CONTACT_ONLINE","java.lang.String");
                setOrThrow(this::setEmail,json::getString,"EMAIL","java.lang.String");
                setOrThrow(this::setFax,json::getString,"FAX","java.lang.String");
                setOrThrow(this::setHomepage,json::getString,"HOMEPAGE","java.lang.String");
                setOrThrow(this::setLogo,json::getString,"LOGO","java.lang.String");
                setOrThrow(this::setPhone,json::getString,"PHONE","java.lang.String");
                setOrThrow(this::setAddress,json::getString,"ADDRESS","java.lang.String");
                setOrThrow(this::setRunUp,json::getBoolean,"RUN_UP","java.lang.Boolean");
                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("COMMENT",getComment());
                json.put("NAME",getName());
                json.put("TITLE",getTitle());
                json.put("CODE",getCode());
                json.put("TAX_CODE",getTaxCode());
                json.put("TAX_TITLE",getTaxTitle());
                json.put("CONTACT_NAME",getContactName());
                json.put("CONTACT_PHONE",getContactPhone());
                json.put("CONTACT_EMAIL",getContactEmail());
                json.put("CONTACT_ONLINE",getContactOnline());
                json.put("EMAIL",getEmail());
                json.put("FAX",getFax());
                json.put("HOMEPAGE",getHomepage());
                json.put("LOGO",getLogo());
                json.put("PHONE",getPhone());
                json.put("ADDRESS",getAddress());
                json.put("RUN_UP",getRunUp());
                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