Ignore:
Timestamp:
01/08/21 21:27:43 (4 years ago)
Author:
Vzdra <vladko.zdravkovski@…>
Branches:
master
Children:
bd46dbb
Parents:
14b648e
Message:

bugfix

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

    r14b648e rbd38a55  
    22
    33import it.finki.tinki.model.Address;
    4 import it.finki.tinki.model.Jobs.Internship;
    5 import it.finki.tinki.model.Jobs.Job;
    64import lombok.Data;
    75
     6import java.util.ArrayList;
    87import java.util.List;
    98
     
    1312    private List<JobResponseDTO> jobs;
    1413    private List<InternshipResponseDTO> internships;
     14
     15    public CompanyResponseDTO(){
     16        this.jobs = new ArrayList<>();
     17        this.internships = new ArrayList<>();
     18    }
    1519}
  • src/main/java/it/finki/tinki/model/dto/TeamResponseDTO.java

    r14b648e rbd38a55  
    33import lombok.Data;
    44
     5import java.util.ArrayList;
    56import java.util.List;
    67
     
    1011    private List<JobResponseDTO> jobs;
    1112    private List<ProjectResponseDTO> projects;
     13
     14    public TeamResponseDTO(){
     15        this.jobs = new ArrayList<>();
     16        this.projects = new ArrayList<>();
     17    }
    1218}
Note: See TracChangeset for help on using the changeset viewer.