package com.goafanti.common.dao;

import com.goafanti.common.model.MessageConsumer;
import com.goafanti.common.model.MessageConsumerExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MessageConsumerMapper {

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table message_consumer
	 * @mbg.generated  Mon Dec 25 18:55:04 CST 2017
	 */
	long countByExample(MessageConsumerExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table message_consumer
	 * @mbg.generated  Mon Dec 25 18:55:04 CST 2017
	 */
	int deleteByExample(MessageConsumerExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table message_consumer
	 * @mbg.generated  Mon Dec 25 18:55:04 CST 2017
	 */
	int deleteByPrimaryKey(String id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table message_consumer
	 * @mbg.generated  Mon Dec 25 18:55:04 CST 2017
	 */
	int insert(MessageConsumer record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table message_consumer
	 * @mbg.generated  Mon Dec 25 18:55:04 CST 2017
	 */
	int insertSelective(MessageConsumer record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table message_consumer
	 * @mbg.generated  Mon Dec 25 18:55:04 CST 2017
	 */
	List<MessageConsumer> selectByExample(MessageConsumerExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table message_consumer
	 * @mbg.generated  Mon Dec 25 18:55:04 CST 2017
	 */
	MessageConsumer selectByPrimaryKey(String id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table message_consumer
	 * @mbg.generated  Mon Dec 25 18:55:04 CST 2017
	 */
	int updateByExampleSelective(@Param("record") MessageConsumer record,
			@Param("example") MessageConsumerExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table message_consumer
	 * @mbg.generated  Mon Dec 25 18:55:04 CST 2017
	 */
	int updateByExample(@Param("record") MessageConsumer record, @Param("example") MessageConsumerExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table message_consumer
	 * @mbg.generated  Mon Dec 25 18:55:04 CST 2017
	 */
	int updateByPrimaryKeySelective(MessageConsumer record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table message_consumer
	 * @mbg.generated  Mon Dec 25 18:55:04 CST 2017
	 */
	int updateByPrimaryKey(MessageConsumer record);
}