package com.junmp.junmpProcess.vo;

import com.alibaba.fastjson.JSONObject;
import com.junmp.junmpProcess.dto.json.UserInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author LoveMyOrange
 * @create 2022-10-14 23:47
 */
@Data
@ApiModel("我发起页面 需要返回给前端的VO")
public class HistoryProcessInstanceVO {
    @ApiModelProperty("流程实例id")
    private String processInstanceId;
    @ApiModelProperty("审批类型")
    private String processDefinitionName;
    @ApiModelProperty("发起人")
    private UserInfo startUser;
    @ApiModelProperty("单据ID")
    private String orderId;
    @ApiModelProperty("单据类型")
    private String typeOrder;
    @ApiModelProperty("提交时间")
    private Date startTime;
    @ApiModelProperty("结束时间")
    private Date endTime;
    @ApiModelProperty("当前节点")
    private String currentActivityName;
    @ApiModelProperty("审批状态")
    private String businessStatus;
    @ApiModelProperty("耗时")
    private String duration;

    @ApiModelProperty("发物单位")
    private String startOrgName;
    @ApiModelProperty("收物单位")
    private String endOrgName;
    @ApiModelProperty("装备列表")
    private String invList;
    @ApiModelProperty("单据类型")
    private String bussinessType;
    @ApiModelProperty("出入库状态")
    private String outInState;
    @ApiModelProperty("单据内容")
    private String formData;
    @ApiModelProperty("流程id")
    private String processId;
    @ApiModelProperty("人员（领用人，调岗人）")
    private String userName;
    private String type;
}
