finish all getall into table
This commit is contained in:
16
src/app/services/api/model/connect-login-dto.ts
Normal file
16
src/app/services/api/model/connect-login-dto.ts
Normal 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;
|
||||
}
|
||||
|
||||
16
src/app/services/api/model/create-author-dto.ts
Normal file
16
src/app/services/api/model/create-author-dto.ts
Normal 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;
|
||||
}
|
||||
|
||||
18
src/app/services/api/model/create-book-dto.ts
Normal file
18
src/app/services/api/model/create-book-dto.ts
Normal 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;
|
||||
}
|
||||
|
||||
17
src/app/services/api/model/create-loan-dto.ts
Normal file
17
src/app/services/api/model/create-loan-dto.ts
Normal 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;
|
||||
}
|
||||
|
||||
17
src/app/services/api/model/create-login-dto.ts
Normal file
17
src/app/services/api/model/create-login-dto.ts
Normal 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;
|
||||
}
|
||||
|
||||
18
src/app/services/api/model/create-user-dto.ts
Normal file
18
src/app/services/api/model/create-user-dto.ts
Normal 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;
|
||||
}
|
||||
|
||||
19
src/app/services/api/model/get-author-dto.ts
Normal file
19
src/app/services/api/model/get-author-dto.ts
Normal 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;
|
||||
}
|
||||
|
||||
22
src/app/services/api/model/get-book-dto.ts
Normal file
22
src/app/services/api/model/get-book-dto.ts
Normal 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;
|
||||
}
|
||||
|
||||
30
src/app/services/api/model/get-loan-dto.ts
Normal file
30
src/app/services/api/model/get-loan-dto.ts
Normal 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;
|
||||
}
|
||||
|
||||
15
src/app/services/api/model/get-login-connect-dto.ts
Normal file
15
src/app/services/api/model/get-login-connect-dto.ts
Normal 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;
|
||||
}
|
||||
|
||||
19
src/app/services/api/model/get-login-dto.ts
Normal file
19
src/app/services/api/model/get-login-dto.ts
Normal 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;
|
||||
}
|
||||
|
||||
21
src/app/services/api/model/get-user-dto.ts
Normal file
21
src/app/services/api/model/get-user-dto.ts
Normal 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;
|
||||
}
|
||||
|
||||
18
src/app/services/api/model/models.ts
Normal file
18
src/app/services/api/model/models.ts
Normal 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';
|
||||
15
src/app/services/api/model/patch-loan-dto.ts
Normal file
15
src/app/services/api/model/patch-loan-dto.ts
Normal 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;
|
||||
}
|
||||
|
||||
16
src/app/services/api/model/update-author-dto.ts
Normal file
16
src/app/services/api/model/update-author-dto.ts
Normal 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;
|
||||
}
|
||||
|
||||
18
src/app/services/api/model/update-book-dto.ts
Normal file
18
src/app/services/api/model/update-book-dto.ts
Normal 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;
|
||||
}
|
||||
|
||||
19
src/app/services/api/model/update-loan-dto.ts
Normal file
19
src/app/services/api/model/update-loan-dto.ts
Normal 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;
|
||||
}
|
||||
|
||||
17
src/app/services/api/model/update-login-dto.ts
Normal file
17
src/app/services/api/model/update-login-dto.ts
Normal 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;
|
||||
}
|
||||
|
||||
18
src/app/services/api/model/update-user-dto.ts
Normal file
18
src/app/services/api/model/update-user-dto.ts
Normal 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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user