package com.zt.plat.module.base.controller.admin.templtp.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

import java.util.List;

@Data
@Schema(description = "管理后台 - 更新状态 Request VO")
@Validated
public class UpdateStsVO {
    @Schema(description = "ids", requiredMode = Schema.RequiredMode.REQUIRED, example = "['id1','id2']")
    @NotEmpty(message = "ids为空")
    private List<String> ids;
    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "启用和禁用或者其他")
    @NotEmpty(message = "状态为空")
    private String sts;
}
