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 javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 安全责任清单开关切换命令
 * <p>
 * 用于开启/关闭清单开关，包含清单业务ID和目标开关状态
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TaskListSwitchCmd implements Serializable {
    @ApiModelProperty(value = "清单UUID（业务主键）", required = true)
    private String taskListId;

    @ApiModelProperty(value = "开启/关闭：0-关 1-开", required = true)
    private Integer switchFlag;
}
