File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
server/src/main/java/com/studybuddies/server/web/mapper Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 88@ Mapper (componentModel = "spring" , uses = {CheckboxMapper .class })
99public interface ChapterMapper {
1010 @ Mapping (target = "id" , ignore = true )
11- @ Mapping (target = "title" , ignore = true )
11+ @ Mapping (target = "title" , source = "title" )
1212 @ Mapping (target = "checkbox" , source = "checkbox" )
1313 ChapterEntity of (ChapterCreationRequest dto );
1414}
Original file line number Diff line number Diff line change 88@ Mapper (componentModel = "spring" , uses = {ChapterMapper .class })
99public interface UserModuleMapper {
1010 @ Mapping (target = "id" , ignore = true )
11+ @ Mapping (source = "examTime" , target = "examTime" )
1112 @ Mapping (target = "chapter" , source = "chapter" )
1213 UserModule of (UserModuleReq dto );
1314}
You can’t perform that action at this time.
0 commit comments