addapter interface for category

This commit is contained in:
qvalentin 2022-04-22 08:41:00 +02:00
parent 11cf674d9c
commit 07f0e11428
Signed by: qvalentin
GPG Key ID: C979FA1EAFCABF1C
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,19 @@
package persistence;
import category.Category;
import category.CategoryPersistenceAdapter;
import java.util.Set;
public class CSVCategoryPersistenceAdapter implements CategoryPersistenceAdapter {
@Override
public Set<Category> getAll() {
return null;
}
@Override
public Boolean add(Category category) {
return null;
}
}

View File

@ -0,0 +1,5 @@
package persistence;
public record CategoryEntity(String name, int id) {
}