cn.vertxup.erp.domain.tables.interfaces.IECompany Maven / Gradle / Ivy
/*
* 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 IECompany extends VertxPojo, Serializable {
/**
* Setter for DB_ETERNAL.E_COMPANY.KEY
. 「key」- 公司主键
*/
public IECompany setKey(String value);
/**
* Getter for DB_ETERNAL.E_COMPANY.KEY
. 「key」- 公司主键
*/
public String getKey();
/**
* Setter for DB_ETERNAL.E_COMPANY.NAME
. 「name」- 公司名称
*/
public IECompany setName(String value);
/**
* Getter for DB_ETERNAL.E_COMPANY.NAME
. 「name」- 公司名称
*/
public String getName();
/**
* Setter for DB_ETERNAL.E_COMPANY.ALIAS
. 「alias」- 公司别称
*/
public IECompany setAlias(String value);
/**
* Getter for DB_ETERNAL.E_COMPANY.ALIAS
. 「alias」- 公司别称
*/
public String getAlias();
/**
* Setter for DB_ETERNAL.E_COMPANY.TITLE
. 「title」- 公司显示标题
*/
public IECompany setTitle(String value);
/**
* Getter for DB_ETERNAL.E_COMPANY.TITLE
. 「title」- 公司显示标题
*/
public String getTitle();
/**
* Setter for DB_ETERNAL.E_COMPANY.CODE
. 「code」- 公司编号
*/
public IECompany setCode(String value);
/**
* Getter for DB_ETERNAL.E_COMPANY.CODE
. 「code」- 公司编号
*/
public String getCode();
/**
* Setter for DB_ETERNAL.E_COMPANY.COMMENT
. 「comment」- 公司简介
*/
public IECompany setComment(String value);
/**
* Getter for DB_ETERNAL.E_COMPANY.COMMENT
. 「comment」- 公司简介
*/
public String getComment();
/**
* Setter for DB_ETERNAL.E_COMPANY.TAX_CODE
. 「taxCode」- 公司税号
*/
public IECompany setTaxCode(String value);
/**
* Getter for DB_ETERNAL.E_COMPANY.TAX_CODE
. 「taxCode」- 公司税号
*/
public String getTaxCode();
/**
* Setter for DB_ETERNAL.E_COMPANY.TAX_TITLE
. 「taxTitle」- 开票抬头
*/
public IECompany setTaxTitle(String value);
/**
* Getter for DB_ETERNAL.E_COMPANY.TAX_TITLE
. 「taxTitle」- 开票抬头
*/
public String getTaxTitle();
/**
* Setter for DB_ETERNAL.E_COMPANY.EMAIL
. 「email」- 企业邮箱
*/
public IECompany setEmail(String value);
/**
* Getter for DB_ETERNAL.E_COMPANY.EMAIL
. 「email」- 企业邮箱
*/
public String getEmail();
/**
* Setter for DB_ETERNAL.E_COMPANY.FAX
. 「fax」- 传真号
*/
public IECompany setFax(String value);
/**
* Getter for DB_ETERNAL.E_COMPANY.FAX
. 「fax」- 传真号
*/
public String getFax();
/**
* Setter for DB_ETERNAL.E_COMPANY.HOMEPAGE
. 「homepage」- 公司主页
*/
public IECompany setHomepage(String value);
/**
* Getter for DB_ETERNAL.E_COMPANY.HOMEPAGE
. 「homepage」- 公司主页
*/
public String getHomepage();
/**
* Setter for DB_ETERNAL.E_COMPANY.LOGO
. 「logo」- 附件对应的
* attachment Key
*/
public IECompany setLogo(String value);
/**
* Getter for DB_ETERNAL.E_COMPANY.LOGO
. 「logo」- 附件对应的
* attachment Key
*/
public String getLogo();
/**
* Setter for DB_ETERNAL.E_COMPANY.PHONE
. 「phone」- 公司座机
*/
public IECompany setPhone(String value);
/**
* Getter for DB_ETERNAL.E_COMPANY.PHONE
. 「phone」- 公司座机
*/
public String getPhone();
/**
* Setter for DB_ETERNAL.E_COMPANY.ADDRESS
. 「address」- 公司地址
*/
public IECompany setAddress(String value);
/**
* Getter for DB_ETERNAL.E_COMPANY.ADDRESS
. 「address」- 公司地址
*/
public String getAddress();
/**
* Setter for DB_ETERNAL.E_COMPANY.LOCATION_ID
. 「locationId」-
* 启用LBS时对应的Location主键
*/
public IECompany setLocationId(String value);
/**
* Getter for DB_ETERNAL.E_COMPANY.LOCATION_ID
. 「locationId」-
* 启用LBS时对应的Location主键
*/
public String getLocationId();
/**
* Setter for DB_ETERNAL.E_COMPANY.CORPORATION_NAME
.
* 「corporationName」- 企业法人
*/
public IECompany setCorporationName(String value);
/**
* Getter for DB_ETERNAL.E_COMPANY.CORPORATION_NAME
.
* 「corporationName」- 企业法人
*/
public String getCorporationName();
/**
* Setter for DB_ETERNAL.E_COMPANY.CORPORATION_PHONE
.
* 「corporationPhone」- 法人电话
*/
public IECompany setCorporationPhone(String value);
/**
* Getter for DB_ETERNAL.E_COMPANY.CORPORATION_PHONE
.
* 「corporationPhone」- 法人电话
*/
public String getCorporationPhone();
/**
* Setter for DB_ETERNAL.E_COMPANY.CONTACT_NAME
. 「contactName」-
* 联系人电话
*/
public IECompany setContactName(String value);
/**
* Getter for DB_ETERNAL.E_COMPANY.CONTACT_NAME
. 「contactName」-
* 联系人电话
*/
public String getContactName();
/**
* Setter for DB_ETERNAL.E_COMPANY.CONTACT_PHONE
.
* 「contactPhone」- 联系人电话
*/
public IECompany setContactPhone(String value);
/**
* Getter for DB_ETERNAL.E_COMPANY.CONTACT_PHONE
.
* 「contactPhone」- 联系人电话
*/
public String getContactPhone();
/**
* Setter for DB_ETERNAL.E_COMPANY.CONTACT_ONLINE
.
* 「contactOnline」- 在线联系方式
*/
public IECompany setContactOnline(String value);
/**
* Getter for DB_ETERNAL.E_COMPANY.CONTACT_ONLINE
.
* 「contactOnline」- 在线联系方式
*/
public String getContactOnline();
/**
* Setter for DB_ETERNAL.E_COMPANY.COMPANY_ID
. 「companyId」-
* 公司、子公司结构时需要
*/
public IECompany setCompanyId(String value);
/**
* Getter for DB_ETERNAL.E_COMPANY.COMPANY_ID
. 「companyId」-
* 公司、子公司结构时需要
*/
public String getCompanyId();
/**
* Setter for DB_ETERNAL.E_COMPANY.CUSTOMER_ID
. 「customerId」-
* 公司作为客户时的客户信息
*/
public IECompany setCustomerId(String value);
/**
* Getter for DB_ETERNAL.E_COMPANY.CUSTOMER_ID
. 「customerId」-
* 公司作为客户时的客户信息
*/
public String getCustomerId();
/**
* Setter for DB_ETERNAL.E_COMPANY.TYPE
. 「type」- 公司分类
*/
public IECompany setType(String value);
/**
* Getter for DB_ETERNAL.E_COMPANY.TYPE
. 「type」- 公司分类
*/
public String getType();
/**
* Setter for DB_ETERNAL.E_COMPANY.METADATA
. 「metadata」- 附加配置
*/
public IECompany setMetadata(String value);
/**
* Getter for DB_ETERNAL.E_COMPANY.METADATA
. 「metadata」- 附加配置
*/
public String getMetadata();
/**
* Setter for DB_ETERNAL.E_COMPANY.ACTIVE
. 「active」- 是否启用
*/
public IECompany setActive(Boolean value);
/**
* Getter for DB_ETERNAL.E_COMPANY.ACTIVE
. 「active」- 是否启用
*/
public Boolean getActive();
/**
* Setter for DB_ETERNAL.E_COMPANY.SIGMA
. 「sigma」- 统一标识(公司所属应用)
*/
public IECompany setSigma(String value);
/**
* Getter for DB_ETERNAL.E_COMPANY.SIGMA
. 「sigma」- 统一标识(公司所属应用)
*/
public String getSigma();
/**
* Setter for DB_ETERNAL.E_COMPANY.LANGUAGE
. 「language」- 使用的语言
*/
public IECompany setLanguage(String value);
/**
* Getter for DB_ETERNAL.E_COMPANY.LANGUAGE
. 「language」- 使用的语言
*/
public String getLanguage();
/**
* Setter for DB_ETERNAL.E_COMPANY.CREATED_AT
. 「createdAt」-
* 创建时间
*/
public IECompany setCreatedAt(LocalDateTime value);
/**
* Getter for DB_ETERNAL.E_COMPANY.CREATED_AT
. 「createdAt」-
* 创建时间
*/
public LocalDateTime getCreatedAt();
/**
* Setter for DB_ETERNAL.E_COMPANY.CREATED_BY
. 「createdBy」- 创建人
*/
public IECompany setCreatedBy(String value);
/**
* Getter for DB_ETERNAL.E_COMPANY.CREATED_BY
. 「createdBy」- 创建人
*/
public String getCreatedBy();
/**
* Setter for DB_ETERNAL.E_COMPANY.UPDATED_AT
. 「updatedAt」-
* 更新时间
*/
public IECompany setUpdatedAt(LocalDateTime value);
/**
* Getter for DB_ETERNAL.E_COMPANY.UPDATED_AT
. 「updatedAt」-
* 更新时间
*/
public LocalDateTime getUpdatedAt();
/**
* Setter for DB_ETERNAL.E_COMPANY.UPDATED_BY
. 「updatedBy」- 更新人
*/
public IECompany setUpdatedBy(String value);
/**
* Getter for DB_ETERNAL.E_COMPANY.UPDATED_BY
. 「updatedBy」- 更新人
*/
public String getUpdatedBy();
// -------------------------------------------------------------------------
// FROM and INTO
// -------------------------------------------------------------------------
/**
* Load data from another generated Record/POJO implementing the common
* interface IECompany
*/
public void from(IECompany from);
/**
* Copy data into another generated Record/POJO implementing the common
* interface IECompany
*/
public E into(E into);
@Override
public default IECompany 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::setAlias,json::getString,"ALIAS","java.lang.String");
setOrThrow(this::setTitle,json::getString,"TITLE","java.lang.String");
setOrThrow(this::setCode,json::getString,"CODE","java.lang.String");
setOrThrow(this::setComment,json::getString,"COMMENT","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::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::setLocationId,json::getString,"LOCATION_ID","java.lang.String");
setOrThrow(this::setCorporationName,json::getString,"CORPORATION_NAME","java.lang.String");
setOrThrow(this::setCorporationPhone,json::getString,"CORPORATION_PHONE","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::setContactOnline,json::getString,"CONTACT_ONLINE","java.lang.String");
setOrThrow(this::setCompanyId,json::getString,"COMPANY_ID","java.lang.String");
setOrThrow(this::setCustomerId,json::getString,"CUSTOMER_ID","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("ALIAS",getAlias());
json.put("TITLE",getTitle());
json.put("CODE",getCode());
json.put("COMMENT",getComment());
json.put("TAX_CODE",getTaxCode());
json.put("TAX_TITLE",getTaxTitle());
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("LOCATION_ID",getLocationId());
json.put("CORPORATION_NAME",getCorporationName());
json.put("CORPORATION_PHONE",getCorporationPhone());
json.put("CONTACT_NAME",getContactName());
json.put("CONTACT_PHONE",getContactPhone());
json.put("CONTACT_ONLINE",getContactOnline());
json.put("COMPANY_ID",getCompanyId());
json.put("CUSTOMER_ID",getCustomerId());
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