package com.goafanti.common.dao;

import com.goafanti.common.model.CountryCode;
import com.goafanti.common.model.CountryCodeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CountryCodeMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table country_code
     *
     * @mbg.generated Fri Jul 21 08:55:01 CST 2017
     */
    long countByExample(CountryCodeExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table country_code
     *
     * @mbg.generated Fri Jul 21 08:55:01 CST 2017
     */
    int deleteByExample(CountryCodeExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table country_code
     *
     * @mbg.generated Fri Jul 21 08:55:01 CST 2017
     */
    int deleteByPrimaryKey(String countryNameEn);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table country_code
     *
     * @mbg.generated Fri Jul 21 08:55:01 CST 2017
     */
    int insert(CountryCode record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table country_code
     *
     * @mbg.generated Fri Jul 21 08:55:01 CST 2017
     */
    int insertSelective(CountryCode record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table country_code
     *
     * @mbg.generated Fri Jul 21 08:55:01 CST 2017
     */
    List<CountryCode> selectByExample(CountryCodeExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table country_code
     *
     * @mbg.generated Fri Jul 21 08:55:01 CST 2017
     */
    CountryCode selectByPrimaryKey(String countryNameEn);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table country_code
     *
     * @mbg.generated Fri Jul 21 08:55:01 CST 2017
     */
    int updateByExampleSelective(@Param("record") CountryCode record, @Param("example") CountryCodeExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table country_code
     *
     * @mbg.generated Fri Jul 21 08:55:01 CST 2017
     */
    int updateByExample(@Param("record") CountryCode record, @Param("example") CountryCodeExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table country_code
     *
     * @mbg.generated Fri Jul 21 08:55:01 CST 2017
     */
    int updateByPrimaryKeySelective(CountryCode record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table country_code
     *
     * @mbg.generated Fri Jul 21 08:55:01 CST 2017
     */
    int updateByPrimaryKey(CountryCode record);
}