Last change
on this file since bd46dbb was bd46dbb, checked in by Vzdra <vladko.zdravkovski@…>, 3 years ago |
refactoring and response dto
|
-
Property mode
set to
100644
|
File size:
880 bytes
|
Rev | Line | |
---|
[bd46dbb] | 1 | package it.finki.tinki.model.dto.response.account;
|
---|
[723994f] | 2 |
|
---|
| 3 | import it.finki.tinki.model.Skill;
|
---|
[bd46dbb] | 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;
|
---|
[723994f] | 7 | import lombok.Data;
|
---|
| 8 |
|
---|
[4cec0a3] | 9 | import java.util.ArrayList;
|
---|
[723994f] | 10 | import java.util.List;
|
---|
| 11 |
|
---|
| 12 | @Data
|
---|
[bd46dbb] | 13 | public class UserResponseDTO extends LoginResponseDTO {
|
---|
[723994f] | 14 | private String surname;
|
---|
| 15 | private List<Skill> retained;
|
---|
| 16 | private List<Skill> toLearn;
|
---|
[4cec0a3] | 17 | private List<JobResponseDTO> jobs;
|
---|
[b24fe9b] | 18 | private List<InternshipResponseDTO> internships;
|
---|
| 19 | private List<ProjectResponseDTO> projects;
|
---|
[4cec0a3] | 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 | }
|
---|
[723994f] | 28 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.