Class UserSuperclassDTO
- java.lang.Object
-
- idatt2106.group3.backend.Model.DTO.User.UserSuperclassDTO
-
- Direct Known Subclasses:
UserDTO
,UserEditDTO
,UserWithPasswordDTO
public class UserSuperclassDTO extends java.lang.Object
This is the superclass for User DTO's.
-
-
Constructor Summary
Constructors Constructor Description UserSuperclassDTO()
UserSuperclassDTO(java.lang.String forename, java.lang.String surname, java.lang.String email, java.time.LocalDate dateOfBirth, Difficulty trainingLevel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.time.LocalDate
getDateOfBirth()
java.lang.String
getEmail()
java.lang.String
getForename()
java.lang.String
getSurname()
Difficulty
getTrainingLevel()
void
setDateOfBirth(java.time.LocalDate dateOfBirth)
void
setEmail(java.lang.String email)
void
setForename(java.lang.String forename)
void
setSurname(java.lang.String surname)
void
setTrainingLevel(Difficulty trainingLevel)
java.lang.String
toString()
-
-
-
Constructor Detail
-
UserSuperclassDTO
public UserSuperclassDTO(java.lang.String forename, java.lang.String surname, java.lang.String email, java.time.LocalDate dateOfBirth, Difficulty trainingLevel)
-
UserSuperclassDTO
public UserSuperclassDTO()
-
-
Method Detail
-
getForename
public java.lang.String getForename()
-
setForename
public void setForename(java.lang.String forename)
-
getSurname
public java.lang.String getSurname()
-
setSurname
public void setSurname(java.lang.String surname)
-
getEmail
public java.lang.String getEmail()
-
setEmail
public void setEmail(java.lang.String email)
-
getDateOfBirth
public java.time.LocalDate getDateOfBirth()
-
setDateOfBirth
public void setDateOfBirth(java.time.LocalDate dateOfBirth)
-
getTrainingLevel
public Difficulty getTrainingLevel()
-
setTrainingLevel
public void setTrainingLevel(Difficulty trainingLevel)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-