package com.ischoolbar.programmer.dao.home;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.ischoolbar.programmer.entity.home.Favorite;
 
@Repository
public interface FavoriteDao {
	 
	public int add(Favorite favorite);
	
	
	 
	public int delete(Long id);
	
	 
	public List<Favorite> findList(Map<String, Object> queryMap);
	
 
	public Integer getTotal(Map<String, Object> queryMap);
	 
	public Favorite findById(Long id);
	
	 
	public Favorite findByIds(Map<String, Long> queryMap);
}
