1
2
3
4
5
6
7
8
9
10
11
12
| package com.talentcard.server.request;
|
| import io.swagger.v3.oas.annotations.media.Schema;
| import jakarta.validation.constraints.NotNull;
|
| @Schema(name = "展示类服务上下架请求", description = "修改展示类服务的前端展示状态")
| public record DisplayServiceStatusRequest(
| @Schema(description = "上下架状态:1上架 0下架", example = "1", requiredMode = Schema.RequiredMode.REQUIRED)
| @NotNull(message = "上下架状态不能为空")
| Integer status
| ) {
| }
|
|