package com.ho.flow.vo.resp.workorder;


import com.ho.business.entity.Station;
import com.ho.business.vo.resp.DeviceRespVO;
import com.ho.flow.entity.WorkOrder;
import com.ho.flow.vo.Event;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Description TODO
 * Author yule
 * Date 2023/2/4 14:53
 */
@Data
public class WorkOrderRespVO extends WorkOrder {
    @ApiModelProperty(value = "设备名称")
    private List<DeviceRespVO> deviceList;

    @ApiModelProperty(value = "电站名称")
    private List<Station> stationList;

    @ApiModelProperty(value = "告警集合")
    private List<Event> eventList;

    @ApiModelProperty(value = "事件描述")
    private String description;

    @ApiModelProperty(value = "图片对象")
    private List<PictureRespVO> pictureResps;

    @ApiModelProperty(value = "发起人")
    private String userName;

    @ApiModelProperty(value = "当前节点名 , d1  ,d2 ,d3, d4,deleted,end")
    private String currentStep;

    @ApiModelProperty(value = "是否有执行人, false：没有执行人，需要先接收  true:有执行人，可以流转和退回 ")
    private Boolean haveAssignee;

    @ApiModelProperty(value = "判断告警是否存在 0:存在 /1:不存")
    private Integer flag;
}
