package com.ym.mec.biz.service;

import com.ym.mec.biz.dal.dto.CourseGroupCreateDto;
import com.ym.mec.biz.dal.dto.CourseGroupTeacherCardDto;
import com.ym.mec.biz.dal.entity.CoursesGroup;
import com.ym.mec.common.service.BaseService;

import java.util.List;

public interface CoursesGroupService extends BaseService<Long, CoursesGroup> {

    /**
     * @describe 课程创建
     * @author Joburgess
     * @date 2020/3/8
     * @param courseGroupCreateInfo: 课程组创建信息
     * @return void
     */
    void createCourseGroup(CourseGroupCreateDto courseGroupCreateInfo);

    /**
     * @describe 获取教师课程组列表
     * @author Joburgess
     * @date 2020/3/8
     * @param teacherId: 教师编号
     * @return java.util.List<com.ym.mec.biz.dal.dto.CourseGroupTeacherCardDto>
     */
    List<CourseGroupTeacherCardDto> findTeacherCourseGroups(Integer teacherId);

}
