package cn.ey.biz.module.system.controller.bpm.instance.vo;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import java.util.List;

@ApiModel("流程信息ResponseVO")
@Data
public class BpmWorkflowRespVO {

    private boolean canEdit;

    private boolean canView;

    private String  createTime;

    private String  creatorId;

    private String   creatorName;

    private String  currentNodeId;

    private String   currentNodeName;

    private String   forwardButtonName;

    private String lastOperateTime;

    private String  lastOperatorName;

    private String  messageType;

    private boolean  mustInputRemark;

    private boolean  needAffirmance;

    private String remark;

    private String requestId;

    private String requestLevel;

    private String  requestName;

    private String  status;

    private String subbackButtonName;

    private String submitButtonName ;

    private String subnobackButtonName;

    private String vueTemplate;

    private workflowBaseInfoResponse workflowBaseInfo;            //流程信息

    private List<workflowRequestLogsResponse> workflowRequestLogs;       //流程意见

    @Data
    public static class workflowBaseInfoResponse{
        String  workflowId;
        String  workflowName;
        String  workflowTypeId;
        String  workflowTypeName;
    }

    @Data
    public static class workflowRequestLogsResponse{
        String  annexDocHtmls;
        String  id;
        String  nodeId;
        String  nodeName;
        String  operateDate;
        String  operateTime;
        String  operateType;
        String  operatorDept;
        String  operatorId;
        String  operatorName;
        String  receivedPersons;
        String  remark;
        String  signDocHtmls;
        String  signWorkFlowHtmls;
    }

}
