added interfaces

This commit is contained in:
2025-11-11 14:38:50 +01:00
parent 5a3a8459cc
commit 2ca124589a
2 changed files with 19 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
import {BookInfo} from "./book.interfaces";
import {UserInfo} from "./user.interfaces";
export interface LoanInfo {
book: BookInfo;
user: UserInfo;
date: Date;
plannedReturningDate: Date;
effectiveReturningDate: Date;
}

View File

@@ -0,0 +1,9 @@
import {LoanInfo} from "./loan.interfaces";
export interface UserInfo {
name: string;
firstName: string;
email: string;
birthDate: Date;
loan: LoanInfo[];
}