package com.jeeplus.centrecareful.approvalInfo.service.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jeeplus.core.domain.BaseEntity;
import com.jeeplus.centrecareful.approvalInfo.domain.*;
import com.jeeplus.sys.domain.WorkAttachmentInfo;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

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

@Data
public class ZsSaveInfoDto extends BaseEntity {

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

    /**
     * 经办人id
     */
    private String userId;

    /**
     * 经办人名称
     */
    private String userName;

    /**
     * 报销编号
     */
    private String no;

    /**
     * 所属部门
     */
    private String department;

    /**
     * 报销日期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date reimDate;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 状态
     */
    private String type;

    /**
     * 流程id
     */
    private String procInsId;

    /**
     *
     */
    private String processInstanceId;

    private List<ZsReimbursementDetailInfo> detailInfos;
    private List<ZsReimbursementDetailInfoContract> detailInfoContracts;
    private List<ZsReimbursementDetailInfoReport> detailInfoReports;
    private List<ZsReimbursementDetailInfoOther> detailInfoOthers;
    private List<ZsReimbursementDetailInfoProcured> detailInfoProcured;

    private List<ZsReimbursementAmountInfo> amountInfos;
    private List<ZsReimbursementAmountInfo> invoiceReimbursements;

    private List<WorkAttachmentInfo> files;
    private List<WorkAttachmentInfo> invoiceReimbursementFiles;

    /**
     * 报销类型
     */
    private String sourceType;

    /**
     * 采购编号
     */
    private String purchaseNo;

    private String purchaseId;

    private String departmentName;
    /**
     * 报销类型
     */
    private String reimbursementType;

}
