<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ym.mec.education.mapper.ClassGroupMapper">

    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="com.ym.mec.education.entity.ClassGroup">
        <id column="id_" property="id" />
        <result column="music_group_id_" property="musicGroupId" />
        <result column="subject_id_list_" property="subjectIdList" />
        <result column="name_" property="name" />
        <result column="expect_student_num_" property="expectStudentNum" />
        <result column="student_num_" property="studentNum" />
        <result column="create_time_" property="createTime" />
        <result column="update_time_" property="updateTime" />
        <result column="type_" property="type" />
        <result column="del_flag_" property="delFlag" />
        <result column="teach_mode_" property="teachMode" />
        <result column="total_class_times_" property="totalClassTimes" />
        <result column="current_class_times_" property="currentClassTimes" />
    </resultMap>

    <!-- 通用查询结果列 -->
    <sql id="Base_Column_List">
        id_, music_group_id_, subject_id_list_, name_, expect_student_num_, student_num_, create_time_, update_time_, type_, del_flag_, teach_mode_, total_class_times_, current_class_times_
    </sql>

</mapper>
