ProblemDto

data class ProblemDto(val title: String, val contents: List<ProblemContentDto>, val answer: String, val explanation: String)

Constructors

Link copied to clipboard
constructor(title: String, contents: List<ProblemContentDto>, answer: String, explanation: String)

Properties

Link copied to clipboard
@NotBlank(message = "{problem.answer.notblank}")
val answer: String
Link copied to clipboard
Link copied to clipboard
@NotBlank(message = "{problem.explanation.notblank}")
val explanation: String
Link copied to clipboard
@NotBlank(message = "{problem.title.notblank}")
val title: String