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 organization_tax_rule
 *
 * @mbg.generated do_not_delete_during_merge
 */
public class OrganizationTaxRule extends BaseEntity implements Serializable {
    /**
     * Database Column Remarks:
     *   唯一编号
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column organization_tax_rule.id
     *
     * @mbg.generated
     */
    private Long id;

    /**
     * Database Column Remarks:
     *   机构编号
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column organization_tax_rule.organization_id
     *
     * @mbg.generated
     */
    private String organizationId;

    /**
     * Database Column Remarks:
     *   税种类型
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column organization_tax_rule.group_name
     *
     * @mbg.generated
     */
    private String groupName;

    /**
     * Database Column Remarks:
     *   税种申报周期.月度/季度/半年度/年度
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column organization_tax_rule.tax_dec_cycle
     *
     * @mbg.generated
     */
    private String taxDecCycle;

    /**
     * Database Column Remarks:
     *   税种申报方式.网报-CA、用户名密码;建议自己把各自负责的公司的网报账号、密码放到系统中,并更新
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column organization_tax_rule.tax_dec_type
     *
     * @mbg.generated
     */
    private String taxDecType;

    /**
     * Database Column Remarks:
     *   创建时间
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column organization_tax_rule.create_time
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * Database Column Remarks:
     *   更新时间
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column organization_tax_rule.update_time
     *
     * @mbg.generated
     */
    private Date updateTime;

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

    public OrganizationTaxRule() {
    }

    public OrganizationTaxRule(long id,String orgId) {
        this.id = id;
        this.organizationId = orgId;
    }

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column organization_tax_rule.group_name
     *
     * @return the value of organization_tax_rule.group_name
     *
     * @mbg.generated
     */
    public String getGroupName() {
        return groupName;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column organization_tax_rule.tax_dec_cycle
     *
     * @return the value of organization_tax_rule.tax_dec_cycle
     *
     * @mbg.generated
     */
    public String getTaxDecCycle() {
        return taxDecCycle;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column organization_tax_rule.tax_dec_type
     *
     * @return the value of organization_tax_rule.tax_dec_type
     *
     * @mbg.generated
     */
    public String getTaxDecType() {
        return taxDecType;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column organization_tax_rule.create_time
     *
     * @return the value of organization_tax_rule.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 organization_tax_rule.create_time
     *
     * @param createTime the value for organization_tax_rule.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 organization_tax_rule.update_time
     *
     * @return the value of organization_tax_rule.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 organization_tax_rule.update_time
     *
     * @param updateTime the value for organization_tax_rule.update_time
     *
     * @mbg.generated
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table organization_tax_rule
     *
     * @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(", organizationId=").append(organizationId);
        sb.append(", groupName=").append(groupName);
        sb.append(", taxDecCycle=").append(taxDecCycle);
        sb.append(", taxDecType=").append(taxDecType);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}