package com.reading.platform.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.reading.platform.dto.request.TeacherCreateRequest;
import com.reading.platform.dto.request.TeacherUpdateRequest;
import com.reading.platform.entity.Teacher;

/**
 * Teacher Service Interface
 */
public interface TeacherService extends IService<Teacher> {

    Teacher createTeacher(String tenantId, TeacherCreateRequest request);

    Teacher updateTeacher(String id, TeacherUpdateRequest request);

    Teacher getTeacherById(String id);

    Page<Teacher> getTeacherPage(String tenantId, Integer pageNum, Integer pageSize, String keyword, String status);

    void deleteTeacher(String id);

    void resetPassword(String id, String newPassword);

}
