Skip to content
This repository was archived by the owner on Dec 27, 2024. It is now read-only.

Commit c116e74

Browse files
dev/codeforces/ Добавил Response классы для моделей
1 parent e06188a commit c116e74

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package com.cf.cfteam.transfer.responses.codeforces;
2+
3+
import lombok.Builder;
4+
5+
@Builder
6+
public record PlayerResponse(
7+
Long id,
8+
String login,
9+
Double rating
10+
) {
11+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
package com.cf.cfteam.transfer.responses.codeforces;
2+
3+
import lombok.Builder;
4+
5+
import java.util.List;
6+
7+
@Builder
8+
public record TeamResponse(
9+
Long id,
10+
String name,
11+
String description,
12+
List<PlayerResponse> players,
13+
Double teamRating
14+
) {
15+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
package com.cf.cfteam.transfer.responses.security;
2+
3+
public class UserResponse {
4+
}

0 commit comments

Comments
 (0)