DAO commit

This commit is contained in:
tuanvu
2025-09-19 00:27:06 +02:00
parent d47024314a
commit f9351c9f75
19 changed files with 181 additions and 98 deletions

View File

@@ -0,0 +1,13 @@
package DAO;
import java.io.Serializable;
import java.util.List;
public interface Generic<K, T extends Serializable> {
void create(final T entity);
T findById(final K id);
T update(final T entity);
void delete(final T entity);
void deleteById(final K id);
List<T> findAll();
}