1. 开始或继续一个【学习会话】API 2. 暂停一个【学习会话】API 3.通过sessionId获取一个【学习会话】API
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package com.guo.learningprogresstracker.mapStruct;
|
||||
|
||||
import com.guo.learningprogresstracker.dto.response.StudySessionResponce;
|
||||
import com.guo.learningprogresstracker.entity.StudySessionsEntity;
|
||||
import org.mapstruct.Mapper;
|
||||
import org.mapstruct.ReportingPolicy;
|
||||
import org.mapstruct.factory.Mappers;
|
||||
|
||||
@Mapper(componentModel = "spring",unmappedTargetPolicy = ReportingPolicy.IGNORE)
|
||||
public interface StudySessionConvert {
|
||||
StudySessionConvert MAPPER = Mappers.getMapper(StudySessionConvert.class);
|
||||
|
||||
|
||||
StudySessionResponce toStudySessionResponce(StudySessionsEntity studySessionsEntity);
|
||||
}
|
||||
Reference in New Issue
Block a user