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