package com.farmer.baton.repo;

import com.farmer.baton.model.Farmer;

import java.util.List;

public interface FarmerMapper {
    List<Farmer> findAll();
}

package com.farmer.baton.repo;

import com.farmer.baton.model.Farmer;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FarmerMapper {
    List<Farmer> findAll();
}

add repository