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;

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

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

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

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

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

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

}
