cn.vertxup.erp.domain.tables.pojos.RCompanyCustomer Maven / Gradle / Ivy
/*
* This file is generated by jOOQ.
*/
package cn.vertxup.erp.domain.tables.pojos;
import cn.vertxup.erp.domain.tables.interfaces.IRCompanyCustomer;
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 RCompanyCustomer implements VertxPojo, IRCompanyCustomer {
private static final long serialVersionUID = 1L;
private String companyId;
private String customerId;
private String comment;
public RCompanyCustomer() {}
public RCompanyCustomer(IRCompanyCustomer value) {
this.companyId = value.getCompanyId();
this.customerId = value.getCustomerId();
this.comment = value.getComment();
}
public RCompanyCustomer(
String companyId,
String customerId,
String comment
) {
this.companyId = companyId;
this.customerId = customerId;
this.comment = comment;
}
public RCompanyCustomer(io.vertx.core.json.JsonObject json) {
this();
fromJson(json);
}
/**
* Getter for DB_ETERNAL.R_COMPANY_CUSTOMER.COMPANY_ID
.
* 「companyId」- 企业的ID
*/
@Override
public String getCompanyId() {
return this.companyId;
}
/**
* Setter for DB_ETERNAL.R_COMPANY_CUSTOMER.COMPANY_ID
.
* 「companyId」- 企业的ID
*/
@Override
public RCompanyCustomer setCompanyId(String companyId) {
this.companyId = companyId;
return this;
}
/**
* Getter for DB_ETERNAL.R_COMPANY_CUSTOMER.CUSTOMER_ID
.
* 「customerId」- 客户信息的ID
*/
@Override
public String getCustomerId() {
return this.customerId;
}
/**
* Setter for DB_ETERNAL.R_COMPANY_CUSTOMER.CUSTOMER_ID
.
* 「customerId」- 客户信息的ID
*/
@Override
public RCompanyCustomer setCustomerId(String customerId) {
this.customerId = customerId;
return this;
}
/**
* Getter for DB_ETERNAL.R_COMPANY_CUSTOMER.COMMENT
. 「comment」-
* 关系备注
*/
@Override
public String getComment() {
return this.comment;
}
/**
* Setter for DB_ETERNAL.R_COMPANY_CUSTOMER.COMMENT
. 「comment」-
* 关系备注
*/
@Override
public RCompanyCustomer setComment(String comment) {
this.comment = comment;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("RCompanyCustomer (");
sb.append(companyId);
sb.append(", ").append(customerId);
sb.append(", ").append(comment);
sb.append(")");
return sb.toString();
}
// -------------------------------------------------------------------------
// FROM and INTO
// -------------------------------------------------------------------------
@Override
public void from(IRCompanyCustomer from) {
setCompanyId(from.getCompanyId());
setCustomerId(from.getCustomerId());
setComment(from.getComment());
}
@Override
public E into(E into) {
into.from(this);
return into;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy