package com.goafanti.common.dao;

import com.goafanti.common.model.UserFollow;
import com.goafanti.common.model.UserFollowExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UserFollowMapper {

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table user_follow
	 * @mbg.generated  Tue Nov 14 19:38:26 CST 2017
	 */
	long countByExample(UserFollowExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table user_follow
	 * @mbg.generated  Tue Nov 14 19:38:26 CST 2017
	 */
	int deleteByExample(UserFollowExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table user_follow
	 * @mbg.generated  Tue Nov 14 19:38:26 CST 2017
	 */
	int deleteByPrimaryKey(String id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table user_follow
	 * @mbg.generated  Tue Nov 14 19:38:26 CST 2017
	 */
	int insert(UserFollow record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table user_follow
	 * @mbg.generated  Tue Nov 14 19:38:26 CST 2017
	 */
	int insertSelective(UserFollow record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table user_follow
	 * @mbg.generated  Tue Nov 14 19:38:26 CST 2017
	 */
	List<UserFollow> selectByExample(UserFollowExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table user_follow
	 * @mbg.generated  Tue Nov 14 19:38:26 CST 2017
	 */
	UserFollow selectByPrimaryKey(String id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table user_follow
	 * @mbg.generated  Tue Nov 14 19:38:26 CST 2017
	 */
	int updateByExampleSelective(@Param("record") UserFollow record, @Param("example") UserFollowExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table user_follow
	 * @mbg.generated  Tue Nov 14 19:38:26 CST 2017
	 */
	int updateByExample(@Param("record") UserFollow record, @Param("example") UserFollowExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table user_follow
	 * @mbg.generated  Tue Nov 14 19:38:26 CST 2017
	 */
	int updateByPrimaryKeySelective(UserFollow record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table user_follow
	 * @mbg.generated  Tue Nov 14 19:38:26 CST 2017
	 */
	int updateByPrimaryKey(UserFollow record);
}