package com.uas.platform.b2b.dao;

import java.util.List;

import javax.persistence.OrderBy;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import com.uas.platform.b2b.model.Resource;

@Repository
public interface ResourceDao extends JpaRepository<Resource, Long> {
	
	@OrderBy("id")
	@Override
	public List<Resource> findAll();

}
