erste Items

Feature-LibraryService
elarturo 2024-11-17 21:03:20 +01:00
parent cf581bae40
commit 94075aab6c
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
package DomainLayer;
import java.time.LocalDate;
public abstract class LibraryItem {
private String id;
private String title;
private String author;
private boolean isLoaned;
private LocalDate dueDate;
// Konstruktor und Getter/Setter
public abstract int getLoanPeriod(); // Unterschiedliche Fristen für Medien
public abstract boolean canRenew(); // Verlängerungsmöglichkeit
}