package com.gyee.frame.mapper.auto;

import com.gyee.frame.model.auto.PushMessage;
import com.gyee.frame.model.auto.PushMessageExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

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

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table PUSHMESSAGE
     *
     * @mbg.generated
     */
    PushMessage selectByPrimaryKey(Short id);

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

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

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

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