package com.ruoyi.hezhi.service;

import com.ruoyi.hezhi.domain.TbTeacherAuthentication;
import com.ruoyi.hezhi.domain.dto.TeacherAuthenticationDTO;

import java.util.List;

/**
 * 名师认证Service接口
 *
 * @author ruoyi
 * @date 2024-12-13
 */
public interface ITbTeacherAuthenticationService
{
    /**
     * 查询名师认证
     *
     * @param teacherAuthenticationId 名师认证主键
     * @return 名师认证
     */
    public TbTeacherAuthentication selectTbTeacherAuthenticationByTeacherAuthenticationId(Long teacherAuthenticationId);
    /**
     * 查询名师认证
     *
     * @param phone 名师认证主键
     * @return 名师认证
     */
    public TbTeacherAuthentication selectTbTeacherAuthenticationByPhone(String phone);

    /**
     * 查询名师认证列表
     *
     * @param tbTeacherAuthentication 名师认证
     * @return 名师认证集合
     */
    public List<TbTeacherAuthentication> selectTbTeacherAuthenticationList(TbTeacherAuthentication tbTeacherAuthentication);

    /**
     * 新增名师认证
     *
     * @param tbTeacherAuthentication 名师认证
     * @return 结果
     */
    public int insertTbTeacherAuthentication(TbTeacherAuthentication tbTeacherAuthentication);

    /**
     * 修改名师认证
     *
     * @param tbTeacherAuthentication 名师认证
     * @return 结果
     */
    public int updateTbTeacherAuthentication(TbTeacherAuthentication tbTeacherAuthentication);

    /**
     * 批量删除名师认证
     *
     * @param teacherAuthenticationIds 需要删除的名师认证主键集合
     * @return 结果
     */
    public int deleteTbTeacherAuthenticationByTeacherAuthenticationIds(Long[] teacherAuthenticationIds);

    /**
     * 删除名师认证信息
     *
     * @param teacherAuthenticationId 名师认证主键
     * @return 结果
     */
    public int deleteTbTeacherAuthenticationByTeacherAuthenticationId(Long teacherAuthenticationId);

    /**
     * 提交名师认证
     * @param teacherAuthenticationDTO 参数
     * @return 结果
     */
    public int submitTeacherAuthentication(TeacherAuthenticationDTO teacherAuthenticationDTO);

}
