package cn.axzo.workflow.common.model.response.bpmn.task;

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

import java.util.Date;

@Data
@ApiModel("待我审批的任务列表响应模型")
public class BpmnTaskTodoPageItemVO {

    /**
     * 任务编号
     */
    @ApiModelProperty(value = "任务编号", required = true, example = "1024")
    private String id;

    /**
     * 任务名字
     */
    @ApiModelProperty(value = "任务名字", required = true, example = "芋道")
    private String taskName;

    /**
     * 分类
     */
    @ApiModelProperty(value = "分类")
    private String category;

    /**
     * 审批任务接收时间
     */
    @ApiModelProperty(value = "审批任务接收时间", required = true)
    private Date claimTime;

    /**
     * 任务所属人
     */
    @ApiModelProperty(value = "任务所属人", hidden = true)
    private String owner;

    /**
     * 任务审批人
     */
    @ApiModelProperty(value = "任务审批人")
    private String assignee;

    /**
     * 激活状态
     */
    @ApiModelProperty(value = "激活状态", required = true, example = "1", notes = "参见 SuspensionState 枚举")
    private Boolean suspensionState;

    /**
     * 当前任务关联的表单 key
     */
    @ApiModelProperty(value = "当前任务关联的表单 key")
    private String formKey;

    /**
     * 流程实例 ID
     */
    @ApiModelProperty(value = "流程实例 ID")
    private String processInstanceId;

    /**
     * 流程实例名称
     */
    @ApiModelProperty(value = "流程实例名称")
    private String processInstanceName;

    /**
     * 业务 key
     */
    @ApiModelProperty(value = "业务 key")
    private String businessKey;

    /**
     * 流程发起人
     */
    @ApiModelProperty(value = "流程发起人")
    private String startUserId;

    /**
     * 工作流实例创建时间
     */
    @ApiModelProperty(value = "工作流实例创建时间", required = true)
    private Date startTime;

}
