finish all getall into table

This commit is contained in:
2025-11-18 12:04:51 +01:00
parent 73ce63d7d0
commit 4b5fd254a1
57 changed files with 3048 additions and 82 deletions

View File

@@ -0,0 +1,16 @@
/**
* ApiEfCoreLibrary
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface ConnectLoginDto {
username?: string | null;
password?: string | null;
}

View File

@@ -0,0 +1,16 @@
/**
* ApiEfCoreLibrary
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface CreateAuthorDto {
name?: string | null;
firstName?: string | null;
}

View File

@@ -0,0 +1,18 @@
/**
* ApiEfCoreLibrary
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface CreateBookDto {
title?: string | null;
releaseYear?: number | null;
isbn?: string | null;
authorId?: number;
}

View File

@@ -0,0 +1,17 @@
/**
* ApiEfCoreLibrary
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface CreateLoanDto {
bookId?: number;
userId?: number;
date?: string;
}

View File

@@ -0,0 +1,17 @@
/**
* ApiEfCoreLibrary
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface CreateLoginDto {
username?: string | null;
fullName?: string | null;
password?: string | null;
}

View File

@@ -0,0 +1,18 @@
/**
* ApiEfCoreLibrary
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface CreateUserDto {
name?: string | null;
firstName?: string | null;
email?: string | null;
birthDate?: string | null;
}

View File

@@ -0,0 +1,19 @@
/**
* ApiEfCoreLibrary
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { GetBookDto } from './get-book-dto';
export interface GetAuthorDto {
id?: number;
name?: string | null;
firstName?: string | null;
books?: Array<GetBookDto> | null;
}

View File

@@ -0,0 +1,22 @@
/**
* ApiEfCoreLibrary
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface GetBookDto {
id?: number;
title?: string | null;
authorId?: number;
bookAuthorId?: number;
bookAuthorName?: string | null;
bookAuthorFirstName?: string | null;
releaseYear?: number | null;
isbn?: string | null;
}

View File

@@ -0,0 +1,30 @@
/**
* ApiEfCoreLibrary
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface GetLoanDto {
id?: number;
bookId?: number;
bookTitle?: string | null;
bookAuthorId?: number;
bookAuthorName?: string | null;
bookAuthorFirstName?: string | null;
bookReleaseYear?: number | null;
bookIsbn?: string | null;
userId?: number;
userName?: string | null;
userFirstName?: string | null;
userEmail?: string | null;
userBirthDate?: string | null;
date?: string;
plannedReturningDate?: string;
effectiveReturningDate?: string | null;
}

View File

@@ -0,0 +1,15 @@
/**
* ApiEfCoreLibrary
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface GetLoginConnectDto {
token?: string | null;
}

View File

@@ -0,0 +1,19 @@
/**
* ApiEfCoreLibrary
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface GetLoginDto {
id?: number;
username?: string | null;
fullName?: string | null;
password?: string | null;
salt?: string | null;
}

View File

@@ -0,0 +1,21 @@
/**
* ApiEfCoreLibrary
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { GetLoanDto } from './get-loan-dto';
export interface GetUserDto {
id?: number;
name?: string | null;
firstName?: string | null;
email?: string | null;
birthDate?: string | null;
loans?: Array<GetLoanDto> | null;
}

View File

@@ -0,0 +1,18 @@
export * from './connect-login-dto';
export * from './create-author-dto';
export * from './create-book-dto';
export * from './create-loan-dto';
export * from './create-login-dto';
export * from './create-user-dto';
export * from './get-author-dto';
export * from './get-book-dto';
export * from './get-loan-dto';
export * from './get-login-connect-dto';
export * from './get-login-dto';
export * from './get-user-dto';
export * from './patch-loan-dto';
export * from './update-author-dto';
export * from './update-book-dto';
export * from './update-loan-dto';
export * from './update-login-dto';
export * from './update-user-dto';

View File

@@ -0,0 +1,15 @@
/**
* ApiEfCoreLibrary
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface PatchLoanDto {
effectiveReturningDate?: string;
}

View File

@@ -0,0 +1,16 @@
/**
* ApiEfCoreLibrary
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface UpdateAuthorDto {
name?: string | null;
firstName?: string | null;
}

View File

@@ -0,0 +1,18 @@
/**
* ApiEfCoreLibrary
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface UpdateBookDto {
title?: string | null;
releaseYear?: number | null;
isbn?: string | null;
authorId?: number;
}

View File

@@ -0,0 +1,19 @@
/**
* ApiEfCoreLibrary
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface UpdateLoanDto {
bookId?: number;
userId?: number;
date?: string;
plannedReturningDate?: string;
effectiveReturningDate?: string | null;
}

View File

@@ -0,0 +1,17 @@
/**
* ApiEfCoreLibrary
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface UpdateLoginDto {
username?: string | null;
fullName?: string | null;
password?: string | null;
}

View File

@@ -0,0 +1,18 @@
/**
* ApiEfCoreLibrary
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface UpdateUserDto {
name?: string | null;
firstName?: string | null;
email?: string | null;
birthDate?: string | null;
}