Class UserWithPasswordDTO
- java.lang.Object
-
- idatt2106.group3.backend.Model.DTO.User.UserSuperclassDTO
-
- idatt2106.group3.backend.Model.DTO.User.UserWithPasswordDTO
-
public class UserWithPasswordDTO extends UserSuperclassDTO
DTO class for User POST-requests when registering a new user
-
-
Constructor Summary
Constructors Constructor Description UserWithPasswordDTO()
UserWithPasswordDTO(java.lang.String forename, java.lang.String surname, java.lang.String email, java.time.LocalDate dateOfBirth, Difficulty trainingLevel, java.lang.String password, java.lang.String profilePicture)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getPassword()
java.lang.String
getProfilePicture()
void
setPassword(java.lang.String password)
void
setProfilePicture(java.lang.String profilePicture)
java.lang.String
toString()
-
Methods inherited from class idatt2106.group3.backend.Model.DTO.User.UserSuperclassDTO
getDateOfBirth, getEmail, getForename, getSurname, getTrainingLevel, setDateOfBirth, setEmail, setForename, setSurname, setTrainingLevel
-
-
-
-
Constructor Detail
-
UserWithPasswordDTO
public UserWithPasswordDTO(java.lang.String forename, java.lang.String surname, java.lang.String email, java.time.LocalDate dateOfBirth, Difficulty trainingLevel, java.lang.String password, java.lang.String profilePicture)
-
UserWithPasswordDTO
public UserWithPasswordDTO()
-
-
Method Detail
-
getPassword
public java.lang.String getPassword()
-
setPassword
public void setPassword(java.lang.String password)
-
getProfilePicture
public java.lang.String getProfilePicture()
-
setProfilePicture
public void setProfilePicture(java.lang.String profilePicture)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classUserSuperclassDTO
-
-