package pwc.taxtech.atms.entity;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * This class was generated by MyBatis Generator.
 * This class corresponds to the database table key_value_config
 *
 * @mbg.generated do_not_delete_during_merge
 */
public class KeyValueConfig extends BaseEntity implements Serializable {
    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column key_value_config.id
     *
     * @mbg.generated
     */
    private String id;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column key_value_config.key_code
     *
     * @mbg.generated
     */
    private String keyCode;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column key_value_config.name
     *
     * @mbg.generated
     */
    private String name;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column key_value_config.key_value_type
     *
     * @mbg.generated
     */
    private Integer keyValueType;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column key_value_config.formula
     *
     * @mbg.generated
     */
    private String formula;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column key_value_config.is_constant
     *
     * @mbg.generated
     */
    private Integer isConstant;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column key_value_config.calculate_status
     *
     * @mbg.generated
     */
    private Integer calculateStatus;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column key_value_config.result_type
     *
     * @mbg.generated
     */
    private Integer resultType;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column key_value_config.service_type_ids
     *
     * @mbg.generated
     */
    private String serviceTypeIds;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column key_value_config.industry_ids
     *
     * @mbg.generated
     */
    private String industryIds;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column key_value_config.description
     *
     * @mbg.generated
     */
    private String description;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column key_value_config.creator
     *
     * @mbg.generated
     */
    private String creator;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column key_value_config.create_time
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column key_value_config.updator
     *
     * @mbg.generated
     */
    private String updator;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column key_value_config.update_time
     *
     * @mbg.generated
     */
    private Date updateTime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column key_value_config.data_source
     *
     * @mbg.generated
     */
    private String dataSource;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table key_value_config
     *
     * @mbg.generated
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column key_value_config.id
     *
     * @return the value of key_value_config.id
     *
     * @mbg.generated
     */
    public String getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column key_value_config.id
     *
     * @param id the value for key_value_config.id
     *
     * @mbg.generated
     */
    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column key_value_config.key_code
     *
     * @return the value of key_value_config.key_code
     *
     * @mbg.generated
     */
    public String getKeyCode() {
        return keyCode;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column key_value_config.key_code
     *
     * @param keyCode the value for key_value_config.key_code
     *
     * @mbg.generated
     */
    public void setKeyCode(String keyCode) {
        this.keyCode = keyCode == null ? null : keyCode.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column key_value_config.name
     *
     * @return the value of key_value_config.name
     *
     * @mbg.generated
     */
    public String getName() {
        return name;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column key_value_config.name
     *
     * @param name the value for key_value_config.name
     *
     * @mbg.generated
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column key_value_config.key_value_type
     *
     * @return the value of key_value_config.key_value_type
     *
     * @mbg.generated
     */
    public Integer getKeyValueType() {
        return keyValueType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column key_value_config.key_value_type
     *
     * @param keyValueType the value for key_value_config.key_value_type
     *
     * @mbg.generated
     */
    public void setKeyValueType(Integer keyValueType) {
        this.keyValueType = keyValueType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column key_value_config.formula
     *
     * @return the value of key_value_config.formula
     *
     * @mbg.generated
     */
    public String getFormula() {
        return formula;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column key_value_config.formula
     *
     * @param formula the value for key_value_config.formula
     *
     * @mbg.generated
     */
    public void setFormula(String formula) {
        this.formula = formula == null ? null : formula.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column key_value_config.is_constant
     *
     * @return the value of key_value_config.is_constant
     *
     * @mbg.generated
     */
    public Integer getIsConstant() {
        return isConstant;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column key_value_config.is_constant
     *
     * @param isConstant the value for key_value_config.is_constant
     *
     * @mbg.generated
     */
    public void setIsConstant(Integer isConstant) {
        this.isConstant = isConstant;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column key_value_config.calculate_status
     *
     * @return the value of key_value_config.calculate_status
     *
     * @mbg.generated
     */
    public Integer getCalculateStatus() {
        return calculateStatus;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column key_value_config.calculate_status
     *
     * @param calculateStatus the value for key_value_config.calculate_status
     *
     * @mbg.generated
     */
    public void setCalculateStatus(Integer calculateStatus) {
        this.calculateStatus = calculateStatus;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column key_value_config.result_type
     *
     * @return the value of key_value_config.result_type
     *
     * @mbg.generated
     */
    public Integer getResultType() {
        return resultType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column key_value_config.result_type
     *
     * @param resultType the value for key_value_config.result_type
     *
     * @mbg.generated
     */
    public void setResultType(Integer resultType) {
        this.resultType = resultType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column key_value_config.service_type_ids
     *
     * @return the value of key_value_config.service_type_ids
     *
     * @mbg.generated
     */
    public String getServiceTypeIds() {
        return serviceTypeIds;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column key_value_config.service_type_ids
     *
     * @param serviceTypeIds the value for key_value_config.service_type_ids
     *
     * @mbg.generated
     */
    public void setServiceTypeIds(String serviceTypeIds) {
        this.serviceTypeIds = serviceTypeIds == null ? null : serviceTypeIds.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column key_value_config.industry_ids
     *
     * @return the value of key_value_config.industry_ids
     *
     * @mbg.generated
     */
    public String getIndustryIds() {
        return industryIds;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column key_value_config.industry_ids
     *
     * @param industryIds the value for key_value_config.industry_ids
     *
     * @mbg.generated
     */
    public void setIndustryIds(String industryIds) {
        this.industryIds = industryIds == null ? null : industryIds.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column key_value_config.description
     *
     * @return the value of key_value_config.description
     *
     * @mbg.generated
     */
    public String getDescription() {
        return description;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column key_value_config.description
     *
     * @param description the value for key_value_config.description
     *
     * @mbg.generated
     */
    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column key_value_config.creator
     *
     * @return the value of key_value_config.creator
     *
     * @mbg.generated
     */
    public String getCreator() {
        return creator;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column key_value_config.creator
     *
     * @param creator the value for key_value_config.creator
     *
     * @mbg.generated
     */
    public void setCreator(String creator) {
        this.creator = creator == null ? null : creator.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column key_value_config.create_time
     *
     * @return the value of key_value_config.create_time
     *
     * @mbg.generated
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column key_value_config.create_time
     *
     * @param createTime the value for key_value_config.create_time
     *
     * @mbg.generated
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column key_value_config.updator
     *
     * @return the value of key_value_config.updator
     *
     * @mbg.generated
     */
    public String getUpdator() {
        return updator;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column key_value_config.updator
     *
     * @param updator the value for key_value_config.updator
     *
     * @mbg.generated
     */
    public void setUpdator(String updator) {
        this.updator = updator == null ? null : updator.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column key_value_config.update_time
     *
     * @return the value of key_value_config.update_time
     *
     * @mbg.generated
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column key_value_config.update_time
     *
     * @param updateTime the value for key_value_config.update_time
     *
     * @mbg.generated
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column key_value_config.data_source
     *
     * @return the value of key_value_config.data_source
     *
     * @mbg.generated
     */
    public String getDataSource() {
        return dataSource;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column key_value_config.data_source
     *
     * @param dataSource the value for key_value_config.data_source
     *
     * @mbg.generated
     */
    public void setDataSource(String dataSource) {
        this.dataSource = dataSource == null ? null : dataSource.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table key_value_config
     *
     * @mbg.generated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", keyCode=").append(keyCode);
        sb.append(", name=").append(name);
        sb.append(", keyValueType=").append(keyValueType);
        sb.append(", formula=").append(formula);
        sb.append(", isConstant=").append(isConstant);
        sb.append(", calculateStatus=").append(calculateStatus);
        sb.append(", resultType=").append(resultType);
        sb.append(", serviceTypeIds=").append(serviceTypeIds);
        sb.append(", industryIds=").append(industryIds);
        sb.append(", description=").append(description);
        sb.append(", creator=").append(creator);
        sb.append(", createTime=").append(createTime);
        sb.append(", updator=").append(updator);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", dataSource=").append(dataSource);
        sb.append("]");
        return sb.toString();
    }
}