StudentLoanManagement
Package com.student_loan.dtos

Classes

class  CredentialsDTO
 
class  LoanAndItemDto
 
class  RankingDTO
 
class  UserDTO
 

Functions

record ItemRecord (String name, String description, String category, String purchasePrice, String imageBase64, String status, String condition)
 
record LoanRecord (Long id, Long lender, Long borrower, Long item, String loanDate, String estimatedReturnDate, String realReturnDate, String loanStatus, String rating, String observations)
 
record RegistrationRecord (String name, String lastName, String email, String password, String telephoneNumber, String address, String degreeType, Integer degreeYear)
 
record UserRecord (String name, String lastName, String email, String password, String telephoneNumber, String address, String degreeType, Integer degreeYear, Integer penalties, Double averageRating, Boolean admin)
 

Function Documentation

◆ ItemRecord()

record com.student_loan.dtos.ItemRecord ( String  name,
String  description,
String  category,
String  purchasePrice,
String  imageBase64,
String  status,
String  condition 
)

Definition at line 4 of file ItemRecord.java.

◆ LoanRecord()

record com.student_loan.dtos.LoanRecord ( Long  id,
Long  lender,
Long  borrower,
Long  item,
String  loanDate,
String  estimatedReturnDate,
String  realReturnDate,
String  loanStatus,
String  rating,
String  observations 
)

Definition at line 4 of file LoanRecord.java.

◆ RegistrationRecord()

record com.student_loan.dtos.RegistrationRecord ( String  name,
String  lastName,
String  email,
String  password,
String  telephoneNumber,
String  address,
String  degreeType,
Integer  degreeYear 
)

Definition at line 3 of file RegistrationRecord.java.

◆ UserRecord()

record com.student_loan.dtos.UserRecord ( String  name,
String  lastName,
String  email,
String  password,
String  telephoneNumber,
String  address,
String  degreeType,
Integer  degreeYear,
Integer  penalties,
Double  averageRating,
Boolean  admin 
)

Definition at line 4 of file UserRecord.java.