package com.codvision.workflow.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

/**
 * @author hxl
 */
@Data
@Builder
@ApiModel
public class WorkFlowTaskVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("任务编号")
    private String taskId;

    @ApiModelProperty("任务key")
    private String taskKey;

    @ApiModelProperty("任务名称")
    private String taskName;

    @ApiModelProperty("任务执行人名称")
    private String assigneeName;

    @ApiModelProperty("流程发起人Id")
    private String startUserId;

    @ApiModelProperty("流程发起人名称")
    private String startUserName;

    @ApiModelProperty("流程类型")
    private String category;

    @ApiModelProperty("流程定义名称")
    private String procDefName;

    @ApiModelProperty("流程定义版本")
    private Integer procDefVersion;

    @ApiModelProperty("流程定义ID")
    private String definitionId;

    @ApiModelProperty("流程部署编号")
    private String deployId;

    @ApiModelProperty("流程实例ID")
    private String procInsId;

    @ApiModelProperty("任务耗时")
    private String durationTime;

    @ApiModelProperty("任务创建时间")
    private String createTime;

    @ApiModelProperty("任务办结时间")
    private String finishTime;

    @ApiModelProperty("流程状态")
    private String flowStatus;
}
