package com.zcloud.safetyDutyList.dto.tasklist;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * 任务详情关闭命令
 * <p>
 * 用于关闭单个任务详情，仅需任务详情业务ID
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TaskDetailCloseCmd implements Serializable {
    @ApiModelProperty(value = "任务UUID", required = true)
    @NotEmpty(message = "任务ID不能为空")
    private String taskDetailId;
}
