package pwc.taxtech.atms.analysis.entity;

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

    /**
     * Database Column Remarks:
     *   序号 系统生成 主键,由所属期间及公司组成。 122
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column analysis_file_management.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_file_management.file_type
     *
     * @mbg.generated
     */
    private String fileType;

    /**
     * Database Column Remarks:
     *   申报频率 申报频率 管理模块 档案类型有“所属期间”及“税种”字段的,属于周期性归档的类型,需在系统管理模块的公司信息查找申报频率。其他没有所属期间及税种字段的类型,属于一次性归档的类型。 季
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column analysis_file_management.reporting_frequency
     *
     * @mbg.generated
     */
    private String reportingFrequency;

    /**
     * Database Column Remarks:
     *   归档状态 归档状态 系统计算 根据所属时期及该税种的申报频率检查是否有该档案类型的上传记录。如增值税的季度申报表,只在1、4、7、10月份检查及生成数据模型记录。注意印花税申报表申报频率并非按月、季或年,而是按需要生成的。具体逻辑为检查是否有印花税申报底稿,若有的话才生成印花税申报表的数据模型记录。一次性歸檔的類型只需上传过,便每个所属期间都自动生成记录,标为已归档。(覆盖历史记录) 已归档
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column analysis_file_management.archiving_status
     *
     * @mbg.generated
     */
    private String archivingStatus;

    /**
     * Database Column Remarks:
     *   创建时间 
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column analysis_file_management.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_file_management.update_time
     *
     * @mbg.generated
     */
    private Date updateTime;

    /**
     * Database Column Remarks:
     *   机构ID
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column analysis_file_management.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_file_management.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_file_management.period
     *
     * @mbg.generated
     */
    private Integer period;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table analysis_file_management
     *
     * @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_file_management.id
     *
     * @return the value of analysis_file_management.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_file_management.id
     *
     * @param id the value for analysis_file_management.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_file_management.seq_no
     *
     * @return the value of analysis_file_management.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_file_management.seq_no
     *
     * @param seqNo the value for analysis_file_management.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_file_management.file_type
     *
     * @return the value of analysis_file_management.file_type
     *
     * @mbg.generated
     */
    public String getFileType() {
        return fileType;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column analysis_file_management.reporting_frequency
     *
     * @return the value of analysis_file_management.reporting_frequency
     *
     * @mbg.generated
     */
    public String getReportingFrequency() {
        return reportingFrequency;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column analysis_file_management.archiving_status
     *
     * @return the value of analysis_file_management.archiving_status
     *
     * @mbg.generated
     */
    public String getArchivingStatus() {
        return archivingStatus;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column analysis_file_management.create_time
     *
     * @return the value of analysis_file_management.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_file_management.create_time
     *
     * @param createTime the value for analysis_file_management.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_file_management.update_time
     *
     * @return the value of analysis_file_management.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_file_management.update_time
     *
     * @param updateTime the value for analysis_file_management.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 analysis_file_management.organization_id
     *
     * @return the value of analysis_file_management.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_file_management.organization_id
     *
     * @param organizationId the value for analysis_file_management.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_file_management.company_name
     *
     * @return the value of analysis_file_management.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_file_management.company_name
     *
     * @param companyName the value for analysis_file_management.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_file_management.period
     *
     * @return the value of analysis_file_management.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_file_management.period
     *
     * @param period the value for analysis_file_management.period
     *
     * @mbg.generated
     */
    public void setPeriod(Integer period) {
        this.period = period;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table analysis_file_management
     *
     * @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(", seqNo=").append(seqNo);
        sb.append(", fileType=").append(fileType);
        sb.append(", reportingFrequency=").append(reportingFrequency);
        sb.append(", archivingStatus=").append(archivingStatus);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", organizationId=").append(organizationId);
        sb.append(", companyName=").append(companyName);
        sb.append(", period=").append(period);
        sb.append("]");
        return sb.toString();
    }
}