package com.yeejoin.amos.patrol.business.dao.repository;

import java.util.List;
import java.util.Optional;

import org.springframework.stereotype.Repository;

import com.yeejoin.amos.patrol.dao.entity.Task;

@Repository("taskDao")
public interface ITaskDao extends BaseDao<Task, Long> {

	List<Task> findAllByStatus(int status);
	
	Optional<Task> findById(Long id);
	
}
