package com.gyee.frame.mapper.auto;

import com.gyee.frame.model.auto.Stoptype;
import com.gyee.frame.model.auto.StoptypeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table STOPTYPE
     *
     * @mbg.generated
     */
    Stoptype selectByPrimaryKey(String id);

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

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

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

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