package com.ho.flow.entity.process;

import com.ho.common.tools.entity.OrderForm;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author yule
 * @Date 2023/9/5 16:25
 * @desc ${工作流任务详情返回对象}
 */
@Data
public class TaskOrderInfo {

    @ApiModelProperty(value = "工单标题")
    String title;

    @ApiModelProperty(value = "任务code")
    String code;

    @ApiModelProperty(value = "工单表单对象")
    OrderForm orderForm;

    @ApiModelProperty(value = "流转按钮: 0:不显示 1:流转  2 同意(流转)/拒绝")
    Integer circulation;

    @ApiModelProperty(value = "接收按钮")
    Boolean  accept;

    @ApiModelProperty(value = "回退按钮")
    Boolean back;

    @ApiModelProperty(value = "作废按钮")
    Boolean cancel;

    @ApiModelProperty(value = "转发按钮")
    Boolean forward;

    @ApiModelProperty(value = "流转选人按钮")
    Boolean user;

    @ApiModelProperty(value = "修改标题")
    Boolean updateTitle;

}
