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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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