package com.jeeplus.centrecareful.reportArchieve.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jeeplus.core.domain.BaseEntity;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
@TableName("zs_report_archieve")
public class ZsReportArchieve extends BaseEntity {

    //合同编号类型（字典值）
    public static final String BIZ_CODE = "91";

    private String archieveNo;  //流水号
    private String officeName;  //部门名称
    private String businessName;    //企业名称(审计报告上被审计单位名称)
    private String businessType;    //业务类型
    private String project; //项目
    private String reportNo;    //报告文号
    private String reportNoType;    //报告文号类型
    private String reportingPeriod; //报告涵盖期间
    private String fillingManager;  //归档经办人
    private String projectLeader;   //项目经理
    private String projectMaster;   //项目负责人
    private String signatureCpa;    //签字注册会计师
    private String signatureParter; //签字合伙人
    private String projectLevel;    //项目等级
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date reportDate;  //报告日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date stampDate; //盖章日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date archieveDate;    //归档日期
    private String fileBoxNumber;   //档案盒号
    private String boxNumber;   //盒数
    private String bookNumbers; //本数
    private String remarks; //备注
    private String originalContract;    //合同原件
    private String totalAssets; //资产总额(万元)
    private String archieveResever; //归档接收人
    private String storagePlace;    //存放地区(区位码)
    private String status;  //状态
    private String specialPlace;    //存放区域（特殊）


    @TableField(exist = false)
    private String[] reportDates;
    @TableField(exist = false)
    private String[] stampDates;
    @TableField(exist = false)
    private String[] archieveDates;
    @TableField(exist = false)
    private String archieveReseverName; //归档接收人
    @TableField(exist = false)
    private String updateName;
    @TableField(exist = false)
    private List<String> storagePlaces;
}
