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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table TAX_ADMIN.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 TAX_ADMIN.TEMPLATE.ID
     *
     * @return the value of TAX_ADMIN.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 TAX_ADMIN.TEMPLATE.ID
     *
     * @param id the value for TAX_ADMIN.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 TAX_ADMIN.TEMPLATE.NAME
     *
     * @return the value of TAX_ADMIN.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 TAX_ADMIN.TEMPLATE.NAME
     *
     * @param name the value for TAX_ADMIN.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 TAX_ADMIN.TEMPLATE.CODE
     *
     * @return the value of TAX_ADMIN.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 TAX_ADMIN.TEMPLATE.CODE
     *
     * @param code the value for TAX_ADMIN.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 TAX_ADMIN.TEMPLATE.PATH
     *
     * @return the value of TAX_ADMIN.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 TAX_ADMIN.TEMPLATE.PATH
     *
     * @param path the value for TAX_ADMIN.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 TAX_ADMIN.TEMPLATE.REPORT_TYPE
     *
     * @return the value of TAX_ADMIN.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 TAX_ADMIN.TEMPLATE.REPORT_TYPE
     *
     * @param reportType the value for TAX_ADMIN.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 TAX_ADMIN.TEMPLATE.TEMPLATE_GROUP_ID
     *
     * @return the value of TAX_ADMIN.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 TAX_ADMIN.TEMPLATE.TEMPLATE_GROUP_ID
     *
     * @param templateGroupId the value for TAX_ADMIN.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 TAX_ADMIN.TEMPLATE.ORDER_INDEX
     *
     * @return the value of TAX_ADMIN.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 TAX_ADMIN.TEMPLATE.ORDER_INDEX
     *
     * @param orderIndex the value for TAX_ADMIN.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 TAX_ADMIN.TEMPLATE.CREATE_TIME
     *
     * @return the value of TAX_ADMIN.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 TAX_ADMIN.TEMPLATE.CREATE_TIME
     *
     * @param createTime the value for TAX_ADMIN.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 TAX_ADMIN.TEMPLATE.UPDATE_TIME
     *
     * @return the value of TAX_ADMIN.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 TAX_ADMIN.TEMPLATE.UPDATE_TIME
     *
     * @param updateTime the value for TAX_ADMIN.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 TAX_ADMIN.TEMPLATE.IS_SYSTEM_TYPE
     *
     * @return the value of TAX_ADMIN.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 TAX_ADMIN.TEMPLATE.IS_SYSTEM_TYPE
     *
     * @param isSystemType the value for TAX_ADMIN.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 TAX_ADMIN.TEMPLATE.IS_ACTIVE_ASSOCIATION
     *
     * @return the value of TAX_ADMIN.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 TAX_ADMIN.TEMPLATE.IS_ACTIVE_ASSOCIATION
     *
     * @param isActiveAssociation the value for TAX_ADMIN.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 TAX_ADMIN.TEMPLATE.PARENT_ID
     *
     * @return the value of TAX_ADMIN.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 TAX_ADMIN.TEMPLATE.PARENT_ID
     *
     * @param parentId the value for TAX_ADMIN.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 TAX_ADMIN.TEMPLATE.CREATE_BY
     *
     * @return the value of TAX_ADMIN.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 TAX_ADMIN.TEMPLATE.CREATE_BY
     *
     * @param createBy the value for TAX_ADMIN.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 TAX_ADMIN.TEMPLATE.UPDATE_BY
     *
     * @return the value of TAX_ADMIN.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 TAX_ADMIN.TEMPLATE.UPDATE_BY
     *
     * @param updateBy the value for TAX_ADMIN.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 TAX_ADMIN.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();
    }
}