Changes in / [da44aef:59a8941]
- Location:
- Prototype Application/Paw5/src/main
- Files:
-
- 12 added
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Prototype Application/Paw5/src/main/java/finki/paw5/model/entities/PersonalProfile.java
rda44aef r59a8941 32 32 private GroomingNeed groomingNeed; 33 33 34 public PersonalProfile( intid, FriendlyToKids friendlyToKids, FriendlyToPets friendlyToPets, AttentionNeed attentionNeed, PhysicalActivity physicalActivity, GroomingNeed groomingNeed) {34 public PersonalProfile(Integer id, FriendlyToKids friendlyToKids, FriendlyToPets friendlyToPets, AttentionNeed attentionNeed, PhysicalActivity physicalActivity, GroomingNeed groomingNeed) { 35 35 this.id = id; 36 36 this.friendlyToKids = friendlyToKids; -
Prototype Application/Paw5/src/main/java/finki/paw5/model/entities/Pet.java
rda44aef r59a8941 43 43 44 44 @Column(name = "id_adoption") 45 private intadoptionId;45 private Integer adoptionId; 46 46 47 47 @Column(name = "id_shelter") 48 private intshelterId;48 private Integer shelterId; 49 49 50 public Pet(String imageUrl, AgeGroup ageGroup, Size size, String breed, String name, Species species, Gender gender, boolean canBeFostered, int adoptionId, intshelterId) {50 public Pet(String imageUrl, AgeGroup ageGroup, Size size, String breed, String name, Species species, Gender gender, boolean canBeFostered, Integer adoptionId, Integer shelterId) { 51 51 this.imageUrl = imageUrl; 52 52 this.ageGroup = ageGroup; -
Prototype Application/Paw5/src/main/java/finki/paw5/model/entities/Post.java
rda44aef r59a8941 5 5 6 6 import java.time.LocalDate; 7 import java.util.Date;8 7 9 8 @Data … … 24 23 25 24 @Column(name="id_pet", nullable = false) 26 private intpetId;25 private Integer petId; 27 26 28 27 @Column(name="id_surendee") 29 private intsurendeeId;28 private Integer surendeeId; 30 29 31 30 @Column(name="id_employee") 32 private intemployeeId;31 private Integer employeeId; 33 32 34 public Post(LocalDate dateCreated, String thumbnailUrl, int petId, int surendeeId, intemployeeId) {33 public Post(LocalDate dateCreated, String thumbnailUrl, Integer petId, Integer surendeeId, Integer employeeId) { 35 34 this.dateCreated = dateCreated; 36 35 this.thumbnailUrl = thumbnailUrl; -
Prototype Application/Paw5/src/main/java/finki/paw5/service/ShelterService.java
rda44aef r59a8941 4 4 5 5 import java.util.List; 6 import java.util.Optional; 6 7 7 8 public interface ShelterService { 9 Optional<Shelter> findById(Integer id); 8 10 List<Shelter> listShelters(); 9 11 }
Note:
See TracChangeset
for help on using the changeset viewer.