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

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

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

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

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

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column template_group.copy_from
     *
     * @mbg.generated
     */
    private Long copyFrom;

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

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

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column template_group.industry_ids
     *
     * @return the value of template_group.industry_ids
     *
     * @mbg.generated
     */
    public String getIndustryIds() {
        return industryIds;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column template_group.pay_tax_type
     *
     * @return the value of template_group.pay_tax_type
     *
     * @mbg.generated
     */
    public Integer getPayTaxType() {
        return payTaxType;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column template_group.group_type
     *
     * @return the value of template_group.group_type
     *
     * @mbg.generated
     */
    public Integer getGroupType() {
        return groupType;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column template_group.copy_from
     *
     * @return the value of template_group.copy_from
     *
     * @mbg.generated
     */
    public Long getCopyFrom() {
        return copyFrom;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column template_group.update_time
     *
     * @return the value of template_group.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_group.update_time
     *
     * @param updateTime the value for template_group.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_group.create_time
     *
     * @return the value of template_group.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_group.create_time
     *
     * @param createTime the value for template_group.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_group.is_system_type
     *
     * @return the value of template_group.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_group.is_system_type
     *
     * @param isSystemType the value for template_group.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_group.create_by
     *
     * @return the value of template_group.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_group.create_by
     *
     * @param createBy the value for template_group.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_group.update_by
     *
     * @return the value of template_group.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_group.update_by
     *
     * @param updateBy the value for template_group.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_group
     *
     * @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(", serviceTypeId=").append(serviceTypeId);
        sb.append(", industryIds=").append(industryIds);
        sb.append(", payTaxType=").append(payTaxType);
        sb.append(", groupType=").append(groupType);
        sb.append(", copyFrom=").append(copyFrom);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", createTime=").append(createTime);
        sb.append(", isSystemType=").append(isSystemType);
        sb.append(", createBy=").append(createBy);
        sb.append(", updateBy=").append(updateBy);
        sb.append("]");
        return sb.toString();
    }
}