package pwc.taxtech.atms.vat.entity;

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

/**
 *
 * This class was generated by MyBatis Generator.
 * This class corresponds to the database table period_cell_template_config
 *
 * @mbg.generated do_not_delete_during_merge
 */
public class PeriodCellTemplateConfig implements Serializable {
    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column period_cell_template_config.id
     *
     * @mbg.generated
     */
    private Long id;

    /**
     * Database Column Remarks:
     *   月份
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column period_cell_template_config.period
     *
     * @mbg.generated
     */
    private Integer period;

    /**
     * Database Column Remarks:
     *   单元格模板ID
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column period_cell_template_config.cell_template_id
     *
     * @mbg.generated
     */
    private Long cellTemplateId;

    /**
     * Database Column Remarks:
     *   报表模板ID
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column period_cell_template_config.report_template_id
     *
     * @mbg.generated
     */
    private Long reportTemplateId;

    /**
     * Database Column Remarks:
     *   数据源类型
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column period_cell_template_config.data_source_type
     *
     * @mbg.generated
     */
    private Integer dataSourceType;

    /**
     * Database Column Remarks:
     *   公式
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column period_cell_template_config.formula
     *
     * @mbg.generated
     */
    private String formula;

    /**
     * Database Column Remarks:
     *   解析后公式
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column period_cell_template_config.parsed_formula
     *
     * @mbg.generated
     */
    private String parsedFormula;

    /**
     * Database Column Remarks:
     *   公式描述
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column period_cell_template_config.formula_description
     *
     * @mbg.generated
     */
    private String formulaDescription;

    /**
     * Database Column Remarks:
     *   账套代码
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column period_cell_template_config.account_codes
     *
     * @mbg.generated
     */
    private String accountCodes;

    /**
     * Database Column Remarks:
     *   发票类型
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column period_cell_template_config.invoice_type
     *
     * @mbg.generated
     */
    private Integer invoiceType;

    /**
     * Database Column Remarks:
     *   税率
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column period_cell_template_config.tax_rate
     *
     * @mbg.generated
     */
    private String taxRate;

    /**
     * Database Column Remarks:
     *   发票账户类型
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column period_cell_template_config.invoice_amount_type
     *
     * @mbg.generated
     */
    private Integer invoiceAmountType;

    /**
     * Database Column Remarks:
     *   模型IDs
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column period_cell_template_config.model_ids
     *
     * @mbg.generated
     */
    private String modelIds;

    /**
     * Database Column Remarks:
     *   创建者
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column period_cell_template_config.create_by
     *
     * @mbg.generated
     */
    private String createBy;

    /**
     * Database Column Remarks:
     *   创建时间
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column period_cell_template_config.create_time
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * Database Column Remarks:
     *   更改者
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column period_cell_template_config.update_by
     *
     * @mbg.generated
     */
    private String updateBy;

    /**
     * Database Column Remarks:
     *   更改时间
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column period_cell_template_config.update_time
     *
     * @mbg.generated
     */
    private Date updateTime;

    /**
     * Database Column Remarks:
     *   发票类型
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column period_cell_template_config.invoice_category
     *
     * @mbg.generated
     */
    private String invoiceCategory;

    /**
     * Database Column Remarks:
     *   公式数据源
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column period_cell_template_config.formula_data_source
     *
     * @mbg.generated
     */
    private String formulaDataSource;

    /**
     * Database Column Remarks:
     *   验证信息
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column period_cell_template_config.validation
     *
     * @mbg.generated
     */
    private String validation;

    /**
     * Database Column Remarks:
     *   解析验证信息
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column period_cell_template_config.parsed_validation
     *
     * @mbg.generated
     */
    private String parsedValidation;

    /**
     * Database Column Remarks:
     *   验证信息描述
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column period_cell_template_config.validation_description
     *
     * @mbg.generated
     */
    private String validationDescription;

    /**
     * Database Column Remarks:
     *   票证关键字
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column period_cell_template_config.voucher_keyword
     *
     * @mbg.generated
     */
    private String voucherKeyword;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column period_cell_template_config.cell_template_config_id
     *
     * @mbg.generated
     */
    private Long cellTemplateConfigId;

    /**
     * Database Column Remarks:
     *   键值对公式解析
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column period_cell_template_config.key_value_parsed_formula
     *
     * @mbg.generated
     */
    private String keyValueParsedFormula;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table period_cell_template_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 period_cell_template_config.id
     *
     * @return the value of period_cell_template_config.id
     *
     * @mbg.generated
     */
    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column period_cell_template_config.id
     *
     * @param id the value for period_cell_template_config.id
     *
     * @mbg.generated
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column period_cell_template_config.period
     *
     * @return the value of period_cell_template_config.period
     *
     * @mbg.generated
     */
    public Integer getPeriod() {
        return period;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column period_cell_template_config.cell_template_id
     *
     * @return the value of period_cell_template_config.cell_template_id
     *
     * @mbg.generated
     */
    public Long getCellTemplateId() {
        return cellTemplateId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column period_cell_template_config.cell_template_id
     *
     * @param cellTemplateId the value for period_cell_template_config.cell_template_id
     *
     * @mbg.generated
     */
    public void setCellTemplateId(Long cellTemplateId) {
        this.cellTemplateId = cellTemplateId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column period_cell_template_config.report_template_id
     *
     * @return the value of period_cell_template_config.report_template_id
     *
     * @mbg.generated
     */
    public Long getReportTemplateId() {
        return reportTemplateId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column period_cell_template_config.report_template_id
     *
     * @param reportTemplateId the value for period_cell_template_config.report_template_id
     *
     * @mbg.generated
     */
    public void setReportTemplateId(Long reportTemplateId) {
        this.reportTemplateId = reportTemplateId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column period_cell_template_config.data_source_type
     *
     * @return the value of period_cell_template_config.data_source_type
     *
     * @mbg.generated
     */
    public Integer getDataSourceType() {
        return dataSourceType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column period_cell_template_config.data_source_type
     *
     * @param dataSourceType the value for period_cell_template_config.data_source_type
     *
     * @mbg.generated
     */
    public void setDataSourceType(Integer dataSourceType) {
        this.dataSourceType = dataSourceType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column period_cell_template_config.formula
     *
     * @return the value of period_cell_template_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 period_cell_template_config.formula
     *
     * @param formula the value for period_cell_template_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 period_cell_template_config.parsed_formula
     *
     * @return the value of period_cell_template_config.parsed_formula
     *
     * @mbg.generated
     */
    public String getParsedFormula() {
        return parsedFormula;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column period_cell_template_config.formula_description
     *
     * @return the value of period_cell_template_config.formula_description
     *
     * @mbg.generated
     */
    public String getFormulaDescription() {
        return formulaDescription;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column period_cell_template_config.account_codes
     *
     * @return the value of period_cell_template_config.account_codes
     *
     * @mbg.generated
     */
    public String getAccountCodes() {
        return accountCodes;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column period_cell_template_config.invoice_type
     *
     * @return the value of period_cell_template_config.invoice_type
     *
     * @mbg.generated
     */
    public Integer getInvoiceType() {
        return invoiceType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column period_cell_template_config.invoice_type
     *
     * @param invoiceType the value for period_cell_template_config.invoice_type
     *
     * @mbg.generated
     */
    public void setInvoiceType(Integer invoiceType) {
        this.invoiceType = invoiceType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column period_cell_template_config.tax_rate
     *
     * @return the value of period_cell_template_config.tax_rate
     *
     * @mbg.generated
     */
    public String getTaxRate() {
        return taxRate;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column period_cell_template_config.invoice_amount_type
     *
     * @return the value of period_cell_template_config.invoice_amount_type
     *
     * @mbg.generated
     */
    public Integer getInvoiceAmountType() {
        return invoiceAmountType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column period_cell_template_config.invoice_amount_type
     *
     * @param invoiceAmountType the value for period_cell_template_config.invoice_amount_type
     *
     * @mbg.generated
     */
    public void setInvoiceAmountType(Integer invoiceAmountType) {
        this.invoiceAmountType = invoiceAmountType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column period_cell_template_config.model_ids
     *
     * @return the value of period_cell_template_config.model_ids
     *
     * @mbg.generated
     */
    public String getModelIds() {
        return modelIds;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column period_cell_template_config.create_by
     *
     * @return the value of period_cell_template_config.create_by
     *
     * @mbg.generated
     */
    public String getCreateBy() {
        return createBy;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column period_cell_template_config.create_time
     *
     * @return the value of period_cell_template_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 period_cell_template_config.create_time
     *
     * @param createTime the value for period_cell_template_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 period_cell_template_config.update_by
     *
     * @return the value of period_cell_template_config.update_by
     *
     * @mbg.generated
     */
    public String getUpdateBy() {
        return updateBy;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column period_cell_template_config.update_time
     *
     * @return the value of period_cell_template_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 period_cell_template_config.update_time
     *
     * @param updateTime the value for period_cell_template_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 period_cell_template_config.invoice_category
     *
     * @return the value of period_cell_template_config.invoice_category
     *
     * @mbg.generated
     */
    public String getInvoiceCategory() {
        return invoiceCategory;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column period_cell_template_config.formula_data_source
     *
     * @return the value of period_cell_template_config.formula_data_source
     *
     * @mbg.generated
     */
    public String getFormulaDataSource() {
        return formulaDataSource;
    }

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column period_cell_template_config.parsed_validation
     *
     * @return the value of period_cell_template_config.parsed_validation
     *
     * @mbg.generated
     */
    public String getParsedValidation() {
        return parsedValidation;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column period_cell_template_config.validation_description
     *
     * @return the value of period_cell_template_config.validation_description
     *
     * @mbg.generated
     */
    public String getValidationDescription() {
        return validationDescription;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column period_cell_template_config.voucher_keyword
     *
     * @return the value of period_cell_template_config.voucher_keyword
     *
     * @mbg.generated
     */
    public String getVoucherKeyword() {
        return voucherKeyword;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column period_cell_template_config.cell_template_config_id
     *
     * @return the value of period_cell_template_config.cell_template_config_id
     *
     * @mbg.generated
     */
    public Long getCellTemplateConfigId() {
        return cellTemplateConfigId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column period_cell_template_config.cell_template_config_id
     *
     * @param cellTemplateConfigId the value for period_cell_template_config.cell_template_config_id
     *
     * @mbg.generated
     */
    public void setCellTemplateConfigId(Long cellTemplateConfigId) {
        this.cellTemplateConfigId = cellTemplateConfigId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column period_cell_template_config.key_value_parsed_formula
     *
     * @return the value of period_cell_template_config.key_value_parsed_formula
     *
     * @mbg.generated
     */
    public String getKeyValueParsedFormula() {
        return keyValueParsedFormula;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table period_cell_template_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(", period=").append(period);
        sb.append(", cellTemplateId=").append(cellTemplateId);
        sb.append(", reportTemplateId=").append(reportTemplateId);
        sb.append(", dataSourceType=").append(dataSourceType);
        sb.append(", formula=").append(formula);
        sb.append(", parsedFormula=").append(parsedFormula);
        sb.append(", formulaDescription=").append(formulaDescription);
        sb.append(", accountCodes=").append(accountCodes);
        sb.append(", invoiceType=").append(invoiceType);
        sb.append(", taxRate=").append(taxRate);
        sb.append(", invoiceAmountType=").append(invoiceAmountType);
        sb.append(", modelIds=").append(modelIds);
        sb.append(", createBy=").append(createBy);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateBy=").append(updateBy);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", invoiceCategory=").append(invoiceCategory);
        sb.append(", formulaDataSource=").append(formulaDataSource);
        sb.append(", validation=").append(validation);
        sb.append(", parsedValidation=").append(parsedValidation);
        sb.append(", validationDescription=").append(validationDescription);
        sb.append(", voucherKeyword=").append(voucherKeyword);
        sb.append(", cellTemplateConfigId=").append(cellTemplateConfigId);
        sb.append(", keyValueParsedFormula=").append(keyValueParsedFormula);
        sb.append("]");
        return sb.toString();
    }
}