package org.linlinjava.litemall.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.litemall.db.domain.LitemallUserCoupon;
import org.linlinjava.litemall.db.domain.LitemallUserCouponExample;

public interface LitemallUserCouponMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_user_coupon
     *
     * @mbg.generated Sat Apr 07 10:22:31 CST 2018
     */
    long countByExample(LitemallUserCouponExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_user_coupon
     *
     * @mbg.generated Sat Apr 07 10:22:31 CST 2018
     */
    int deleteByExample(LitemallUserCouponExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_user_coupon
     *
     * @mbg.generated Sat Apr 07 10:22:31 CST 2018
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_user_coupon
     *
     * @mbg.generated Sat Apr 07 10:22:31 CST 2018
     */
    int insert(LitemallUserCoupon record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_user_coupon
     *
     * @mbg.generated Sat Apr 07 10:22:31 CST 2018
     */
    int insertSelective(LitemallUserCoupon record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_user_coupon
     *
     * @mbg.generated Sat Apr 07 10:22:31 CST 2018
     */
    List<LitemallUserCoupon> selectByExample(LitemallUserCouponExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_user_coupon
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    List<LitemallUserCoupon> selectByExampleSelective(@Param("example") LitemallUserCouponExample example, @Param("selective") LitemallUserCoupon.Column ... selective);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_user_coupon
     *
     * @mbg.generated Sat Apr 07 10:22:31 CST 2018
     */
    LitemallUserCoupon selectByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_user_coupon
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    LitemallUserCoupon selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallUserCoupon.Column ... selective);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_user_coupon
     *
     * @mbg.generated Sat Apr 07 10:22:31 CST 2018
     */
    int updateByExampleSelective(@Param("record") LitemallUserCoupon record, @Param("example") LitemallUserCouponExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_user_coupon
     *
     * @mbg.generated Sat Apr 07 10:22:31 CST 2018
     */
    int updateByExample(@Param("record") LitemallUserCoupon record, @Param("example") LitemallUserCouponExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_user_coupon
     *
     * @mbg.generated Sat Apr 07 10:22:31 CST 2018
     */
    int updateByPrimaryKeySelective(LitemallUserCoupon record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_user_coupon
     *
     * @mbg.generated Sat Apr 07 10:22:31 CST 2018
     */
    int updateByPrimaryKey(LitemallUserCoupon record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_user_coupon
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    LitemallUserCoupon selectOneByExample(LitemallUserCouponExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_user_coupon
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    LitemallUserCoupon selectOneByExampleSelective(@Param("example") LitemallUserCouponExample example, @Param("selective") LitemallUserCoupon.Column ... selective);
}