package org.linlinjava.jz.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.jz.db.domain.SysUserRest;
import org.linlinjava.jz.db.domain.SysUserRestExample;

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_user_rest
     *
     * @mbg.generated
     */
    SysUserRest selectOneByExample(SysUserRestExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_user_rest
     *
     * @mbg.generated
     */
    SysUserRest selectOneByExampleSelective(@Param("example") SysUserRestExample example, @Param("selective") SysUserRest.Column ... selective);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_user_rest
     *
     * @mbg.generated
     */
    List<SysUserRest> selectByExampleSelective(@Param("example") SysUserRestExample example, @Param("selective") SysUserRest.Column ... selective);

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_user_rest
     *
     * @mbg.generated
     */
    SysUserRest selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") SysUserRest.Column ... selective);

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

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

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

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

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