Skip to content
Snippets Groups Projects
Commit c8915d2b authored by fakanpeter's avatar fakanpeter
Browse files

Fix: Dog pictures AGAIN

parent 81d19d06
Branches
Tags
No related merge requests found
...@@ -7,6 +7,10 @@ public class DetailedDogDTO extends DogDTO{ ...@@ -7,6 +7,10 @@ public class DetailedDogDTO extends DogDTO{
this.breed = breed; this.breed = breed;
} }
public DetailedDogDTO() {
}
private Integer age; private Integer age;
private String breed; private String breed;
......
...@@ -11,6 +11,10 @@ public class DogDTO { ...@@ -11,6 +11,10 @@ public class DogDTO {
this.picture = picture; this.picture = picture;
} }
public DogDTO(){
}
public Integer getId() { public Integer getId() {
return id; return id;
} }
......
...@@ -6,7 +6,6 @@ import hu.pazmany.jpe.DogEntity; ...@@ -6,7 +6,6 @@ import hu.pazmany.jpe.DogEntity;
import hu.pazmany.jpe.DogRepository; import hu.pazmany.jpe.DogRepository;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile; import org.springframework.web.multipart.MultipartFile;
import java.io.IOException; import java.io.IOException;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment