1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| package com.sinata.appointment.dto;
|
| import io.swagger.v3.oas.annotations.media.Schema;
| import jakarta.validation.constraints.NotBlank;
| import jakarta.validation.constraints.NotNull;
| import lombok.Data;
|
| @Data
| @Schema(description = "启用/禁用用户")
| public class UserStatusPatchRequest {
|
| @NotBlank
| private String uuid;
|
| @NotNull
| @Schema(description = "1 启用,0 禁用", allowableValues = {"0", "1"})
| private Integer status;
| }
|
|