package cn.exploring.engine.server.db.dao;

import cn.exploring.engine.server.db.domain.LessonInfo;
import cn.exploring.engine.server.db.domain.LessonInfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface LessonInfoMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table lesson_info
     *
     * @mbg.generated
     */
    long countByExample(LessonInfoExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table lesson_info
     *
     * @mbg.generated
     */
    int deleteByExample(LessonInfoExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table lesson_info
     *
     * @mbg.generated
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table lesson_info
     *
     * @mbg.generated
     */
    int insert(LessonInfo record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table lesson_info
     *
     * @mbg.generated
     */
    int insertSelective(LessonInfo record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table lesson_info
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    LessonInfo selectOneByExample(LessonInfoExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table lesson_info
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    LessonInfo selectOneByExampleSelective(@Param("example") LessonInfoExample example, @Param("selective") LessonInfo.Column ... selective);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table lesson_info
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    List<LessonInfo> selectByExampleSelective(@Param("example") LessonInfoExample example, @Param("selective") LessonInfo.Column ... selective);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table lesson_info
     *
     * @mbg.generated
     */
    List<LessonInfo> selectByExample(LessonInfoExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table lesson_info
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    LessonInfo selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LessonInfo.Column ... selective);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table lesson_info
     *
     * @mbg.generated
     */
    LessonInfo selectByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table lesson_info
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    LessonInfo selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table lesson_info
     *
     * @mbg.generated
     */
    int updateByExampleSelective(@Param("record") LessonInfo record, @Param("example") LessonInfoExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table lesson_info
     *
     * @mbg.generated
     */
    int updateByExample(@Param("record") LessonInfo record, @Param("example") LessonInfoExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table lesson_info
     *
     * @mbg.generated
     */
    int updateByPrimaryKeySelective(LessonInfo record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table lesson_info
     *
     * @mbg.generated
     */
    int updateByPrimaryKey(LessonInfo record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table lesson_info
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    int logicalDeleteByExample(@Param("example") LessonInfoExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table lesson_info
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    int logicalDeleteByPrimaryKey(Integer id);
}