package pwc.taxtech.atms.entitiy;

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

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

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

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

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

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column template.template_group_id
     *
     * @mbg.generated
     */
    private Long templateGroupId;

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

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

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column template.is_system_type
     *
     * @mbg.generated
     */
    private Boolean isSystemType;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column template.is_active_association
     *
     * @mbg.generated
     */
    private Boolean isActiveAssociation;

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

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

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

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table 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 template.id
     *
     * @return the value of 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 template.id
     *
     * @param id the value for 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 template.name
     *
     * @return the value of template.name
     *
     * @mbg.generated
     */
    public String getName() {
        return name;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column template.name
     *
     * @param name the value for template.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 template.code
     *
     * @return the value of template.code
     *
     * @mbg.generated
     */
    public String getCode() {
        return code;
    }

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column template.report_type
     *
     * @return the value of template.report_type
     *
     * @mbg.generated
     */
    public Integer getReportType() {
        return reportType;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column template.template_group_id
     *
     * @return the value of template.template_group_id
     *
     * @mbg.generated
     */
    public Long getTemplateGroupId() {
        return templateGroupId;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column template.order_index
     *
     * @return the value of template.order_index
     *
     * @mbg.generated
     */
    public Integer getOrderIndex() {
        return orderIndex;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column template.create_time
     *
     * @return the value of 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 template.create_time
     *
     * @param createTime the value for 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 template.update_time
     *
     * @return the value of 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 template.update_time
     *
     * @param updateTime the value for 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 template.is_system_type
     *
     * @return the value of template.is_system_type
     *
     * @mbg.generated
     */
    public Boolean getIsSystemType() {
        return isSystemType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column template.is_system_type
     *
     * @param isSystemType the value for template.is_system_type
     *
     * @mbg.generated
     */
    public void setIsSystemType(Boolean isSystemType) {
        this.isSystemType = isSystemType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column template.is_active_association
     *
     * @return the value of template.is_active_association
     *
     * @mbg.generated
     */
    public Boolean getIsActiveAssociation() {
        return isActiveAssociation;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column template.is_active_association
     *
     * @param isActiveAssociation the value for template.is_active_association
     *
     * @mbg.generated
     */
    public void setIsActiveAssociation(Boolean isActiveAssociation) {
        this.isActiveAssociation = isActiveAssociation;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column template.parent_id
     *
     * @return the value of template.parent_id
     *
     * @mbg.generated
     */
    public String getParentId() {
        return parentId;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column template.create_by
     *
     * @return the value of 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 template.create_by
     *
     * @param createBy the value for 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 template.update_by
     *
     * @return the value of 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 template.update_by
     *
     * @param updateBy the value for 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 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(", name=").append(name);
        sb.append(", code=").append(code);
        sb.append(", path=").append(path);
        sb.append(", reportType=").append(reportType);
        sb.append(", templateGroupId=").append(templateGroupId);
        sb.append(", orderIndex=").append(orderIndex);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", isSystemType=").append(isSystemType);
        sb.append(", isActiveAssociation=").append(isActiveAssociation);
        sb.append(", parentId=").append(parentId);
        sb.append(", createBy=").append(createBy);
        sb.append(", updateBy=").append(updateBy);
        sb.append("]");
        return sb.toString();
    }
}