1. 开始或继续一个【学习会话】API 2. 暂停一个【学习会话】API 3.通过sessionId获取一个【学习会话】API

This commit is contained in:
guo
2024-08-18 19:45:16 +08:00
parent da0f58b08b
commit e20439c98f
8 changed files with 221 additions and 7 deletions
@@ -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);
}