package com.reading.platform.service;

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 {

    Teacher createTeacher(Long tenantId, TeacherCreateRequest request);

    Teacher updateTeacher(Long id, TeacherUpdateRequest request);

    Teacher getTeacherById(Long id);

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

    void deleteTeacher(Long id);

    void resetPassword(Long id, String newPassword);

}
