Record Class ModifyTaskDto<T>

java.lang.Object
java.lang.Record
at.jku.dke.etutor.task_app.dto.ModifyTaskDto<T>
Type Parameters:
T - The type of the additional data.
Record Components:
taskGroupId - The task group id.
maxPoints - The maximum achievable points.
taskType - The task type.
status - The status.
additionalData - The task type specific data.
All Implemented Interfaces:
Serializable

public record ModifyTaskDto<T>(Long taskGroupId, @NotNull @PositiveOrZero BigDecimal maxPoints, @NotEmpty @Size(max=100) String taskType, @NotNull TaskStatus status, T additionalData) extends Record implements Serializable
Data transfer object for creating and updating tasks.
See Also: