source: Prototype Application/Paw5/src/main/java/finki/paw5/service/implementation/PostServiceImplementation.java@ 55c0119

main
Last change on this file since 55c0119 was 55c0119, checked in by Filip Chorbeski <86695898+FilipChorbeski@…>, 17 months ago

add pet service & controller

Co-Authored-By: SazdovaEkaterina <74919977+SazdovaEkaterina@…>

  • Property mode set to 100644
File size: 905 bytes
RevLine 
[738b31a]1package finki.paw5.service.implementation;
2
[6479fe1]3import finki.paw5.model.entities.Post;
[738b31a]4import finki.paw5.model.enumerations.AgeGroup;
5import finki.paw5.model.enumerations.Gender;
6import finki.paw5.model.enumerations.Size;
7import finki.paw5.model.enumerations.Species;
[6479fe1]8import finki.paw5.repository.PostRepository;
[738b31a]9import finki.paw5.service.PostService;
[6479fe1]10import org.springframework.stereotype.Service;
[738b31a]11
[6479fe1]12@Service
[55c0119]13public class PostServiceImplementation implements PostService {
[738b31a]14
[6479fe1]15 private final PostRepository postRepository;
[738b31a]16
[55c0119]17 public PostServiceImplementation(PostRepository PostRepository){
[6479fe1]18 this.postRepository = PostRepository;
19 }
[738b31a]20
21 @Override
22 public Post submit(String name, Gender gender, AgeGroup ageGroup, Size size, Species species, String breed, String urlimage) {
[6479fe1]23 //Post post = new Post(name, gender, ageGroup, size, species, breed, urlimage);
[738b31a]24 return null;
25 }
[6479fe1]26
[738b31a]27}
Note: See TracBrowser for help on using the repository browser.