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 TaskListCloseCmd implements Serializable {
    @ApiModelProperty(value = "清单UUID（业务主键）", required = true)
    @NotEmpty(message = "清单ID不能为空")
    private String taskListId;
}
