SpringBootLibrary
Loading...
Searching...
No Matches
com.example.restapi.model.User Class Reference

Public Member Functions

 User ()
 User (String username, String password, String fullName, String email)
Long getId ()
void setId (Long id)
String getUsername ()
void setUsername (String username)
String getPassword ()
void setPassword (String password)
String getFullName ()
void setFullName (String fullName)
String getEmail ()
void setEmail (String email)
List< Borrowing > getBorrowedBooks ()
void setBorrowedBooks (List< Borrowing > borrowedBooks)

Detailed Description

Definition at line 10 of file User.java.

Constructor & Destructor Documentation

◆ User() [1/2]

com.example.restapi.model.User.User ( )

Definition at line 25 of file User.java.

◆ User() [2/2]

com.example.restapi.model.User.User ( String username,
String password,
String fullName,
String email )

Definition at line 27 of file User.java.

Member Function Documentation

◆ getBorrowedBooks()

List< Borrowing > com.example.restapi.model.User.getBorrowedBooks ( )

Definition at line 74 of file User.java.

◆ getEmail()

String com.example.restapi.model.User.getEmail ( )

Definition at line 66 of file User.java.

◆ getFullName()

String com.example.restapi.model.User.getFullName ( )

Definition at line 58 of file User.java.

◆ getId()

Long com.example.restapi.model.User.getId ( )

Definition at line 34 of file User.java.

◆ getPassword()

String com.example.restapi.model.User.getPassword ( )

Definition at line 50 of file User.java.

◆ getUsername()

String com.example.restapi.model.User.getUsername ( )

Definition at line 42 of file User.java.

◆ setBorrowedBooks()

void com.example.restapi.model.User.setBorrowedBooks ( List< Borrowing > borrowedBooks)

Definition at line 78 of file User.java.

◆ setEmail()

void com.example.restapi.model.User.setEmail ( String email)

Definition at line 70 of file User.java.

◆ setFullName()

void com.example.restapi.model.User.setFullName ( String fullName)

Definition at line 62 of file User.java.

◆ setId()

void com.example.restapi.model.User.setId ( Long id)

Definition at line 38 of file User.java.

◆ setPassword()

void com.example.restapi.model.User.setPassword ( String password)

Definition at line 54 of file User.java.

◆ setUsername()

void com.example.restapi.model.User.setUsername ( String username)

Definition at line 46 of file User.java.


The documentation for this class was generated from the following file:
  • src/main/java/com/example/restapi/model/User.java