Class SimpleCourse
java.lang.Object
org.codewithmagret.rest.report.dto.SimpleCourse
A simple DTO for course information, used in the StudentCourseDTO to avoid circular references.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for SimpleCourse.SimpleCourse(Long courseId, String title, String code) Parameterized constructor for SimpleCourse. -
Method Summary
-
Constructor Details
-
SimpleCourse
public SimpleCourse()Default constructor for SimpleCourse. Required for JSON deserialization. -
SimpleCourse
-
-
Method Details
-
getCourseId
-
setCourseId
Setters for courseId- Parameters:
courseId- the ID of the course to set
-
getTitle
-
setTitle
Setters for title- Parameters:
title- the title of the course to set
-
getCode
-
setCode
-