Overview
TheAutor interface represents an author in the virtual library system. Authors can be associated with one or more books.
Interface Definition
Properties
number
required
Unique identifier for the author. Auto-generated by the backend.
string
required
The author’s full name.
string
Optional URL or path to the author’s photo/portrait.
Usage Examples
Fetching All Authors
Creating a New Author
Updating an Author
Deleting an Author
Using Authors in Book Creation
Displaying Author Information in Components
Template Usage
Related Interfaces
- Libro - Book interface that references Autor in the
autoresarray
Related Services
- AutorService - Service for author CRUD operations
Notes
The
urlFoto field is optional but recommended for better user experience in the UI.