package com.goafanti.common.dao;

import com.goafanti.common.model.MessageProducer;
import com.goafanti.common.model.MessageProducerExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MessageProducerMapper {

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

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

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table message_producer
	 * @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_producer
	 * @mbg.generated  Mon Dec 25 18:55:04 CST 2017
	 */
	int insert(MessageProducer record);

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

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

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

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

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

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

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

}