init_object,增加了不完全的登录API,完善数据库设计

This commit is contained in:
guo
2024-06-28 22:31:12 +08:00
parent 3a513a7063
commit b0deeb58af
51 changed files with 1392 additions and 1 deletions
@@ -0,0 +1,20 @@
package com.guo.learningprogresstracker.mapper;
import com.guo.learningprogresstracker.domain.entity.StudyExpectationsEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* @author guo
* @description 针对表【study_expectations(存储每次学习开始前的预期)】的数据库操作Mapper
* @createDate 2024-06-09 15:28:48
* @Entity com.guo.learningprogresstracker.entity.StudyExpectationsEntity
*/
@Mapper
public interface StudyExpectationsMapper extends BaseMapper<StudyExpectationsEntity> {
}
@@ -0,0 +1,20 @@
package com.guo.learningprogresstracker.mapper;
import com.guo.learningprogresstracker.domain.entity.StudyReportFragmentsEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* @author guo
* @description 针对表【study_report_fragments(记录学习过程中的学习内容报告残片)】的数据库操作Mapper
* @createDate 2024-06-09 15:28:48
* @Entity com.guo.learningprogresstracker.entity.StudyReportFragmentsEntity
*/
@Mapper
public interface StudyReportFragmentsMapper extends BaseMapper<StudyReportFragmentsEntity> {
}
@@ -0,0 +1,20 @@
package com.guo.learningprogresstracker.mapper;
import com.guo.learningprogresstracker.domain.entity.StudyReportsEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* @author guo
* @description 针对表【study_reports(存储每次学习结束时的完整学习报告)】的数据库操作Mapper
* @createDate 2024-06-09 15:28:48
* @Entity com.guo.learningprogresstracker.entity.StudyReportsEntity
*/
@Mapper
public interface StudyReportsMapper extends BaseMapper<StudyReportsEntity> {
}
@@ -0,0 +1,20 @@
package com.guo.learningprogresstracker.mapper;
import com.guo.learningprogresstracker.domain.entity.StudySessionsEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* @author guo
* @description 针对表【study_sessions(记录每次学习会话的具体数据)】的数据库操作Mapper
* @createDate 2024-06-09 15:28:48
* @Entity com.guo.learningprogresstracker.entity.StudySessionsEntity
*/
@Mapper
public interface StudySessionsMapper extends BaseMapper<StudySessionsEntity> {
}
@@ -0,0 +1,20 @@
package com.guo.learningprogresstracker.mapper;
import com.guo.learningprogresstracker.domain.entity.TasksEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* @author guo
* @description 针对表【tasks(存储学习任务的基本信息,包括优先级的多维度计算)】的数据库操作Mapper
* @createDate 2024-06-09 15:28:48
* @Entity com.guo.learningprogresstracker.entity.TasksEntity
*/
@Mapper
public interface TasksMapper extends BaseMapper<TasksEntity> {
}
@@ -0,0 +1,20 @@
package com.guo.learningprogresstracker.mapper;
import com.guo.learningprogresstracker.domain.entity.UserEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* @author guo
* @description 针对表【user(用户信息表)】的数据库操作Mapper
* @createDate 2024-06-09 15:28:48
* @Entity com.guo.learningprogresstracker.entity.UserEntity
*/
@Mapper
public interface UserMapper extends BaseMapper<UserEntity> {
}
@@ -0,0 +1,20 @@
package com.guo.learningprogresstracker.mapper;
import com.guo.learningprogresstracker.domain.entity.UserTaskEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* @author guo
* @description 针对表【user_task(存储用户-任务之间的对应关系)】的数据库操作Mapper
* @createDate 2024-06-09 15:28:48
* @Entity com.guo.learningprogresstracker.entity.UserTaskEntity
*/
@Mapper
public interface UserTaskMapper extends BaseMapper<UserTaskEntity> {
}