Last change
on this file since 4cec0a3 was 4cec0a3, checked in by Vzdra <vladko.zdravkovski@…>, 3 years ago |
added response dto for job response
|
-
Property mode
set to
100644
|
File size:
768 bytes
|
Rev | Line | |
---|
[723994f] | 1 | package it.finki.tinki.model.dto;
|
---|
| 2 |
|
---|
| 3 | import it.finki.tinki.model.Jobs.Internship;
|
---|
| 4 | import it.finki.tinki.model.Jobs.Job;
|
---|
| 5 | import it.finki.tinki.model.Jobs.Project;
|
---|
| 6 | import it.finki.tinki.model.Skill;
|
---|
| 7 | import lombok.Data;
|
---|
| 8 |
|
---|
[4cec0a3] | 9 | import java.util.ArrayList;
|
---|
[723994f] | 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;
|
---|
[4cec0a3] | 17 | private List<JobResponseDTO> jobs;
|
---|
[723994f] | 18 | private List<Internship> internships;
|
---|
| 19 | private List<Project> 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.