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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cell_data_source.cell_template_id
     *
     * @mbg.generated
     */
    private Long cellTemplateId;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cell_data_source.cell_data_id
     *
     * @mbg.generated
     */
    private Long cellDataId;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cell_data_source.data_source_id
     *
     * @mbg.generated
     */
    private Long dataSourceId;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cell_data_source.operation_type
     *
     * @mbg.generated
     */
    private Integer operationType;

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

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

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

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

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table cell_data_source
     *
     * @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_data_source.id
     *
     * @return the value of cell_data_source.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_data_source.id
     *
     * @param id the value for cell_data_source.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_data_source.cell_template_id
     *
     * @return the value of cell_data_source.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 cell_data_source.cell_template_id
     *
     * @param cellTemplateId the value for cell_data_source.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 cell_data_source.cell_data_id
     *
     * @return the value of cell_data_source.cell_data_id
     *
     * @mbg.generated
     */
    public Long getCellDataId() {
        return cellDataId;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column cell_data_source.data_source_id
     *
     * @return the value of cell_data_source.data_source_id
     *
     * @mbg.generated
     */
    public Long getDataSourceId() {
        return dataSourceId;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column cell_data_source.operation_type
     *
     * @return the value of cell_data_source.operation_type
     *
     * @mbg.generated
     */
    public Integer getOperationType() {
        return operationType;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column cell_data_source.create_time
     *
     * @return the value of cell_data_source.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_data_source.create_time
     *
     * @param createTime the value for cell_data_source.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_data_source.update_time
     *
     * @return the value of cell_data_source.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_data_source.update_time
     *
     * @param updateTime the value for cell_data_source.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_data_source.project_id
     *
     * @return the value of cell_data_source.project_id
     *
     * @mbg.generated
     */
    public String getProjectId() {
        return projectId;
    }

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table cell_data_source
     *
     * @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(", cellTemplateId=").append(cellTemplateId);
        sb.append(", cellDataId=").append(cellDataId);
        sb.append(", dataSourceId=").append(dataSourceId);
        sb.append(", operationType=").append(operationType);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", projectId=").append(projectId);
        sb.append(", period=").append(period);
        sb.append("]");
        return sb.toString();
    }
}