Last change
on this file since 2e507a8 was bd46dbb, checked in by Vzdra <vladko.zdravkovski@…>, 3 years ago |
refactoring and response dto
|
-
Property mode
set to
100644
|
File size:
880 bytes
|
Line | |
---|
1 | package it.finki.tinki.model.dto.response.account;
|
---|
2 |
|
---|
3 | import it.finki.tinki.model.Skill;
|
---|
4 | import it.finki.tinki.model.dto.response.work.InternshipResponseDTO;
|
---|
5 | import it.finki.tinki.model.dto.response.work.JobResponseDTO;
|
---|
6 | import it.finki.tinki.model.dto.response.work.ProjectResponseDTO;
|
---|
7 | import lombok.Data;
|
---|
8 |
|
---|
9 | import java.util.ArrayList;
|
---|
10 | import java.util.List;
|
---|
11 |
|
---|
12 | @Data
|
---|
13 | public class UserResponseDTO extends LoginResponseDTO {
|
---|
14 | private String surname;
|
---|
15 | private List<Skill> retained;
|
---|
16 | private List<Skill> toLearn;
|
---|
17 | private List<JobResponseDTO> jobs;
|
---|
18 | private List<InternshipResponseDTO> internships;
|
---|
19 | private List<ProjectResponseDTO> projects;
|
---|
20 |
|
---|
21 | public UserResponseDTO(){
|
---|
22 | retained = new ArrayList<>();
|
---|
23 | toLearn = new ArrayList<>();
|
---|
24 | jobs = new ArrayList<>();
|
---|
25 | internships = new ArrayList<>();
|
---|
26 | projects = new ArrayList<>();
|
---|
27 | }
|
---|
28 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.