Ignore:
Timestamp:
01/08/21 15:05:58 (4 years ago)
Author:
Vzdra <vladko.zdravkovski@…>
Branches:
master
Children:
277b400
Parents:
336d09e
Message:

added response types to team and company

Location:
src/main/java/it/finki/tinki/model/dto
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/it/finki/tinki/model/dto/CompanyResponseDTO.java

    r336d09e r4b1c93d  
    1111public class CompanyResponseDTO extends LoginResponseDTO {
    1212    private Address address;
    13     private List<Job> jobs;
    14     private List<Internship> internships;
     13    private List<JobResponseDTO> jobs;
     14    private List<InternshipResponseDTO> internships;
    1515}
  • src/main/java/it/finki/tinki/model/dto/TeamResponseDTO.java

    r336d09e r4b1c93d  
    11package it.finki.tinki.model.dto;
    22
    3 import it.finki.tinki.model.Jobs.Job;
    4 import it.finki.tinki.model.Jobs.Project;
    53import lombok.Data;
    64
     
    108public class TeamResponseDTO extends LoginResponseDTO{
    119    private int members;
    12     private List<Job> jobs;
    13     private List<Project> projects;
     10    private List<JobResponseDTO> jobs;
     11    private List<ProjectResponseDTO> projects;
    1412}
Note: See TracChangeset for help on using the changeset viewer.