package com.jeeplus.psimanage.loss.service.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jeeplus.psimanage.loss.domain.PsiLossDetailed;
import com.jeeplus.psimanage.oss.service.dto.WorkAttachmentDto;
import lombok.Data;

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

@Data
public class PsiLossDto {

    private String remarks;

    private String createBy;

    public static final String BIZ_CODE = "152";

    private String id;

    private String goodsName;

    private String procInsId;

    private String status;

    private String processDefinitionId;

    private String lossNo;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date lossDate;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private String[] lossDates;

    private String handledBy;

    private String handledById;

    private String handledByName;

    private String handledByOffice;

    private String handledByOfficeName;

    private List<WorkAttachmentDto> files;

    private List<PsiLossDetailed> detailInfos;

    private String taskId;

    private List<String> auditUserIds;

    private String detailId;
}
