erste Items
parent
cf581bae40
commit
94075aab6c
|
|
@ -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
|
||||
}
|
||||
Loading…
Reference in New Issue