package com.codvision.workflow.entity.dto;

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

import javax.validation.constraints.NotBlank;

/**
 * @author hxl
 */
@Data
@ApiModel
public class WorkFlowDelayDTO {

    @NotBlank(message = "任务ID不能为空")
    @ApiModelProperty("任务ID")
    private String taskId;

    @NotBlank(message = "请选择延期时间")
    @ApiModelProperty("延期时间")
    private String delayTime;

    @ApiModelProperty("申请原因说明")
    private String reason;

    @ApiModelProperty("延期类型，0-节点延期 1-全局延期")
    private Integer delayType;
}
