Class SingleUserProfileDTO

java.lang.Object
org.cswteams.ms3.dto.userprofile.SingleUserProfileDTO

public class SingleUserProfileDTO extends Object
  • Constructor Details

    • SingleUserProfileDTO

      public SingleUserProfileDTO(Long id, String name, String lastname, String email, String birthday, String seniority, List<String> specializations, List<String> systemActors, List<PermanentConditionDTO> permanentConditions, List<TemporaryConditionDTO> temporaryConditions)
      DTO that has the responsibility to hold the information needed to be shown in the user profile view on the frontend
      Parameters:
      id - ID of the user we want to show
      name - Name of the user we want to show
      lastname - Lastname of the user we want to show
      email - Email of the user we want to show
      birthday - Birthday of the user we want to show
      seniority - Seniority of the user we want to show (STRUCTURED/SPECIALIZAT_JUNIOR/SPECIALIZAT_SENIOR)
      specializations - Specializations of the user we want to show (E.g. CARDIOLOGY, ONCOLOGY, ecc..)
      systemActors - Roles of the user in the MS3 system we want to show (PLANNER/DOCTOR/CONFIGURATOR)
      permanentConditions - List of permanent conditions held by the doctor
      temporaryConditions - List of temporary conditions held by the doctor