| | |
| | | |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.*; |
| | | import java.util.*; |
| | | import jakarta.validation.constraints.*; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import javax.validation.constraints.NotEmpty; |
| | | import javax.validation.constraints.NotNull; |
| | | import java.time.LocalDateTime; |
| | | |
| | | @Schema(description = "管理后台 - 预约新增/修改 Request VO") |
| | | @Data |
| | | public class AppointmentSaveReqVO { |
| | | |
| | | private Integer id; |
| | | |
| | | @Schema(description = "患者编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "29034") |
| | | @NotEmpty(message = "患者编号不能为空") |
| | |
| | | private Boolean patGender; |
| | | |
| | | @Schema(description = "患者生日") |
| | | private LocalDate patBirthday; |
| | | private LocalDateTime patBirthday; |
| | | |
| | | @Schema(description = "患者手机") |
| | | private String patMobile; |