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 cell_template
 *
 * @mbg.generated do_not_delete_during_merge
 */
public class CellTemplate implements Serializable {
    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cell_template.id
     *
     * @mbg.generated
     */
    private Long id;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cell_template.report_template_id
     *
     * @mbg.generated
     */
    private Long reportTemplateId;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cell_template.row_index
     *
     * @mbg.generated
     */
    private Integer rowIndex;

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cell_template.column_index
     *
     * @mbg.generated
     */
    private Integer columnIndex;

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

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

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

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cell_template.copy_from_id
     *
     * @mbg.generated
     */
    private Long copyFromId;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cell_template.data_type
     *
     * @mbg.generated
     */
    private Integer dataType;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cell_template.is_read_only
     *
     * @mbg.generated
     */
    private Boolean isReadOnly;

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column cell_template.id
     *
     * @param id the value for cell_template.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 cell_template.report_template_id
     *
     * @return the value of cell_template.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 cell_template.report_template_id
     *
     * @param reportTemplateId the value for cell_template.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 cell_template.row_index
     *
     * @return the value of cell_template.row_index
     *
     * @mbg.generated
     */
    public Integer getRowIndex() {
        return rowIndex;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column cell_template.row_name
     *
     * @return the value of cell_template.row_name
     *
     * @mbg.generated
     */
    public String getRowName() {
        return rowName;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column cell_template.column_index
     *
     * @return the value of cell_template.column_index
     *
     * @mbg.generated
     */
    public Integer getColumnIndex() {
        return columnIndex;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column cell_template.column_name
     *
     * @return the value of cell_template.column_name
     *
     * @mbg.generated
     */
    public String getColumnName() {
        return columnName;
    }

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column cell_template.create_time
     *
     * @return the value of cell_template.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 cell_template.create_time
     *
     * @param createTime the value for cell_template.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 cell_template.update_time
     *
     * @return the value of cell_template.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 cell_template.update_time
     *
     * @param updateTime the value for cell_template.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 cell_template.copy_from_id
     *
     * @return the value of cell_template.copy_from_id
     *
     * @mbg.generated
     */
    public Long getCopyFromId() {
        return copyFromId;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column cell_template.data_type
     *
     * @return the value of cell_template.data_type
     *
     * @mbg.generated
     */
    public Integer getDataType() {
        return dataType;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column cell_template.is_read_only
     *
     * @return the value of cell_template.is_read_only
     *
     * @mbg.generated
     */
    public Boolean getIsReadOnly() {
        return isReadOnly;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column cell_template.is_read_only
     *
     * @param isReadOnly the value for cell_template.is_read_only
     *
     * @mbg.generated
     */
    public void setIsReadOnly(Boolean isReadOnly) {
        this.isReadOnly = isReadOnly;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column cell_template.create_by
     *
     * @return the value of cell_template.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 cell_template.create_by
     *
     * @param createBy the value for cell_template.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 cell_template.update_by
     *
     * @return the value of cell_template.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 cell_template.update_by
     *
     * @param updateBy the value for cell_template.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 corresponds to the database table cell_template
     *
     * @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(", reportTemplateId=").append(reportTemplateId);
        sb.append(", rowIndex=").append(rowIndex);
        sb.append(", rowName=").append(rowName);
        sb.append(", columnIndex=").append(columnIndex);
        sb.append(", columnName=").append(columnName);
        sb.append(", comment=").append(comment);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", copyFromId=").append(copyFromId);
        sb.append(", dataType=").append(dataType);
        sb.append(", isReadOnly=").append(isReadOnly);
        sb.append(", createBy=").append(createBy);
        sb.append(", updateBy=").append(updateBy);
        sb.append("]");
        return sb.toString();
    }
}