package com.gyee.frame.mapper.auto;

import com.gyee.frame.model.auto.Brownoutsevent2;
import com.gyee.frame.model.auto.Brownoutsevent2Example;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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