-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
125 additions
and
24 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
MainService/src/main/java/ru/espada/ep/iptip/course/CourseFullDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package ru.espada.ep.iptip.course; | ||
|
||
import lombok.*; | ||
|
||
import java.util.Date; | ||
import java.util.Set; | ||
|
||
@Data | ||
@AllArgsConstructor | ||
@NoArgsConstructor | ||
@Builder | ||
public class CourseFullDto { | ||
|
||
private Date createdAt; | ||
private Long id; | ||
private String name; | ||
private String description; | ||
private Set<CourseTestEntityDto> tests; | ||
private Set<TeacherEntityDto> teachers; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
MainService/src/main/java/ru/espada/ep/iptip/course/CourseTestEntityDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package ru.espada.ep.iptip.course; | ||
|
||
import lombok.*; | ||
|
||
@Data | ||
@AllArgsConstructor | ||
@NoArgsConstructor | ||
@Builder | ||
public class CourseTestEntityDto { | ||
private Long id; | ||
private String name; | ||
private Long startTime; | ||
private Long endTime; | ||
private int attempts; | ||
private Long time; | ||
private boolean hideResultScore; | ||
private boolean hideAnswers; | ||
private boolean hideAnswerCorrectness; | ||
private int minScore; | ||
private int maxScore; | ||
} |
17 changes: 17 additions & 0 deletions
17
MainService/src/main/java/ru/espada/ep/iptip/course/TeacherEntityDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package ru.espada.ep.iptip.course; | ||
|
||
import lombok.*; | ||
|
||
@Data | ||
@AllArgsConstructor | ||
@NoArgsConstructor | ||
@Builder | ||
public class TeacherEntityDto { | ||
|
||
private Long id; | ||
private String icon; | ||
private String name; | ||
private String surname; | ||
private String patronymic; | ||
|
||
} |
2 changes: 1 addition & 1 deletion
2
...pada/ep/iptip/course/CourseEntityDto.java → ...p/iptip/course/model/CourseEntityDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package ru.espada.ep.iptip.course; | ||
package ru.espada.ep.iptip.course.model; | ||
|
||
import lombok.*; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters