Upload files to "src/main/java/com/example/nto"

This commit is contained in:
2025-12-08 12:07:31 +00:00
parent 14f176557e
commit ba04d412e8
3 changed files with 25 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
package com.example.nto.dto;
/**
* Тело запроса для POST /api/{code}/book
* {
* "date": "2025-01-05",
* "placeId": 1
* }
*/
public record BookingRequestDto(String date, Long placeId) {
}

View File

@@ -0,0 +1,4 @@
package com.example.nto.dto;
public record BookingShortDto(long id, String place) {
}

View File

@@ -0,0 +1,10 @@
package com.example.nto.dto;
import java.util.Map;
public record EmployeeInfoResponseDto(
String name,
String photoUrl,
Map<String, BookingShortDto> booking
) {
}