package pwc.taxtech.atms.analysis.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import pwc.taxtech.atms.entity.BaseEntity;

/**
 *
 * This class was generated by MyBatis Generator.
 * This class corresponds to the database table analysis_tax
 *
 * @mbg.generated do_not_delete_during_merge
 */
public class AnalysisTax extends BaseEntity implements Serializable {
    /**
     * Database Column Remarks:
     *   唯一编号 系统唯一编号
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column analysis_tax.id
     *
     * @mbg.generated
     */
    private Long id;

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

    /**
     * Database Column Remarks:
     *   公司名称
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column analysis_tax.company_name
     *
     * @mbg.generated
     */
    private String companyName;

    /**
     * Database Column Remarks:
     *   期间 yyyymm
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column analysis_tax.period
     *
     * @mbg.generated
     */
    private Integer period;

    /**
     * Database Column Remarks:
     *   序号 系统生成 主键,由所属期间及公司组成。 122
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column analysis_tax.seq_no
     *
     * @mbg.generated
     */
    private String seqNo;

    /**
     * Database Column Remarks:
     *   税种 税种 增值税申报表、企业所得税申报表及手工导入 增值税及企业所得税分别在申报表中录入,其他税种为手工导入。返还后税金自动根据手工导入的返还额计算。 返还后增值税 (增值税减增值税返还)返还后个人所得税 (员工个税加司机个税减个人所得税返还)
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column analysis_tax.tax_group
     *
     * @mbg.generated
     */
    private String taxGroup;

    /**
     * Database Column Remarks:
     *   税金 税金_ 增值税申报表、企业所得税申报表及手工导入 各税种对应税金。 245345.2
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column analysis_tax.tax_amount
     *
     * @mbg.generated
     */
    private BigDecimal taxAmount;

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

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

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

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column analysis_tax.seq_no
     *
     * @return the value of analysis_tax.seq_no
     *
     * @mbg.generated
     */
    public String getSeqNo() {
        return seqNo;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column analysis_tax.tax_group
     *
     * @return the value of analysis_tax.tax_group
     *
     * @mbg.generated
     */
    public String getTaxGroup() {
        return taxGroup;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column analysis_tax.tax_amount
     *
     * @return the value of analysis_tax.tax_amount
     *
     * @mbg.generated
     */
    public BigDecimal getTaxAmount() {
        return taxAmount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column analysis_tax.tax_amount
     *
     * @param taxAmount the value for analysis_tax.tax_amount
     *
     * @mbg.generated
     */
    public void setTaxAmount(BigDecimal taxAmount) {
        this.taxAmount = taxAmount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column analysis_tax.create_time
     *
     * @return the value of analysis_tax.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 analysis_tax.create_time
     *
     * @param createTime the value for analysis_tax.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 analysis_tax.update_time
     *
     * @return the value of analysis_tax.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 analysis_tax.update_time
     *
     * @param updateTime the value for analysis_tax.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 analysis_tax
     *
     * @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(", companyName=").append(companyName);
        sb.append(", period=").append(period);
        sb.append(", seqNo=").append(seqNo);
        sb.append(", taxGroup=").append(taxGroup);
        sb.append(", taxAmount=").append(taxAmount);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}