Changes in / [eef07ff:9ee306b]
- Location:
- Prototype Application/Paw5/src/main
- Files:
-
- 7 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Prototype Application/Paw5/src/main/java/finki/paw5/model/entities/Pet.java
reef07ff r9ee306b 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
reef07ff r9ee306b 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;
Note:
See TracChangeset
for help on using the changeset viewer.