toggle menu
few
jvm
switch theme
search in API
api
/
com.few.api.domain.admin.controller.request
/
ProblemDto
Problem
Dto
data
class
ProblemDto
(
val
title
:
String
,
val
contents
:
List
<
ProblemContentDto
>
,
val
answer
:
String
,
val
explanation
:
String
)
Members
Constructors
Problem
Dto
Link copied to clipboard
constructor
(
title
:
String
,
contents
:
List
<
ProblemContentDto
>
,
answer
:
String
,
explanation
:
String
)
Properties
answer
Link copied to clipboard
@
NotBlank
(
message
=
"{problem.answer.notblank}"
)
val
answer
:
String
contents
Link copied to clipboard
val
contents
:
List
<
ProblemContentDto
>
explanation
Link copied to clipboard
@
NotBlank
(
message
=
"{problem.explanation.notblank}"
)
val
explanation
:
String
title
Link copied to clipboard
@
NotBlank
(
message
=
"{problem.title.notblank}"
)
val
title
:
String