shinnosuke
5 天以前 e52934f6527027bd6008c2ade61c3083159efd4a
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 TicketPackageStatusRequest(
        @Schema(description = "状态:1启用,0停用", example = "1", requiredMode = Schema.RequiredMode.REQUIRED)
        @NotNull(message = "状态不能为空")
        Integer status
) {
}