Changes in / [9ee306b:eef07ff]
- Location:
- Prototype Application/Paw5/src/main
- Files:
-
- 7 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Prototype Application/Paw5/src/main/java/finki/paw5/model/entities/Pet.java
r9ee306b reef07ff 43 43 44 44 @Column(name = "id_adoption") 45 private IntegeradoptionId;45 private int adoptionId; 46 46 47 47 @Column(name = "id_shelter") 48 private IntegershelterId;48 private int shelterId; 49 49 50 public Pet(String imageUrl, AgeGroup ageGroup, Size size, String breed, String name, Species species, Gender gender, boolean canBeFostered, Integer adoptionId, IntegershelterId) {50 public Pet(String imageUrl, AgeGroup ageGroup, Size size, String breed, String name, Species species, Gender gender, boolean canBeFostered, int adoptionId, int shelterId) { 51 51 this.imageUrl = imageUrl; 52 52 this.ageGroup = ageGroup; -
Prototype Application/Paw5/src/main/java/finki/paw5/model/entities/Post.java
r9ee306b reef07ff 5 5 6 6 import java.time.LocalDate; 7 import java.util.Date; 7 8 8 9 @Data … … 23 24 24 25 @Column(name="id_pet", nullable = false) 25 private IntegerpetId;26 private int petId; 26 27 27 28 @Column(name="id_surendee") 28 private IntegersurendeeId;29 private int surendeeId; 29 30 30 31 @Column(name="id_employee") 31 private IntegeremployeeId;32 private int employeeId; 32 33 33 public Post(LocalDate dateCreated, String thumbnailUrl, Integer petId, Integer surendeeId, IntegeremployeeId) {34 public Post(LocalDate dateCreated, String thumbnailUrl, int petId, int surendeeId, int employeeId) { 34 35 this.dateCreated = dateCreated; 35 36 this.thumbnailUrl = thumbnailUrl;
Note:
See TracChangeset
for help on using the changeset viewer.