package com.cooleshow.teacher.contract;

import com.cooleshow.base.presenter.view.BaseView;
import com.cooleshow.teacher.bean.CourseCommentListBean;
import com.cooleshow.teacher.bean.SparringCourseCommentBean;

/**
 * Author by pq, Date on 2022/5/5.
 */
public interface CourseCommentDetailContract {
    interface CourseCommentDetailView extends BaseView {
        void getSparringCourseCommentSuccess(SparringCourseCommentBean commentBean);

        void getSparringCourseCommentError();

        void submitSparringCourseTeacherCommentSuccess();
    }

    interface Presenter {

        /**
         * 查询课后评价详情
         */
        void queryCourseCommentDetail(String courseScheduleId, String courseGroupId, String studentId);

        /**
         * 提交老师评价回复
         * @param commentContent
         * @param courseScheduleId
         * @param courseGroupId
         * @param studentId
         */
        void submitSparringCourseComment(String commentContent, String courseScheduleId, String courseGroupId, String studentId);
    }
}
