|
|
|
@ -4,12 +4,9 @@ package iutclf.api.repository;
|
|
|
|
|
import iutclf.api.model.Account;
|
|
|
|
|
import jakarta.persistence.Entity;
|
|
|
|
|
import org.springframework.data.repository.CrudRepository;
|
|
|
|
|
import org.springframework.stereotype.Repository;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
import java.util.Optional;
|
|
|
|
|
|
|
|
|
|
@Repository
|
|
|
|
|
public interface AccountRepository extends CrudRepository<Account,Long> {
|
|
|
|
|
List<Account> findAll();
|
|
|
|
|
Optional<Account> findById(Long id);
|
|
|
|
|