Changes in / [325a55d:f0232fb]


Ignore:
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

    r325a55d rf0232fb  
    4343
    4444    @Column(name = "id_adoption")
    45     private Integer adoptionId;
     45    private int adoptionId;
    4646
    4747    @Column(name = "id_shelter")
    48     private Integer shelterId;
     48    private int shelterId;
    4949
    50     public Pet(String imageUrl, AgeGroup ageGroup, Size size, String breed, String name, Species species, Gender gender, boolean canBeFostered, Integer adoptionId, Integer shelterId) {
     50    public Pet(String imageUrl, AgeGroup ageGroup, Size size, String breed, String name, Species species, Gender gender, boolean canBeFostered, int adoptionId, int shelterId) {
    5151        this.imageUrl = imageUrl;
    5252        this.ageGroup = ageGroup;
  • Prototype Application/Paw5/src/main/java/finki/paw5/model/entities/Post.java

    r325a55d rf0232fb  
    55
    66import java.time.LocalDate;
     7import java.util.Date;
    78
    89@Data
     
    2324
    2425    @Column(name="id_pet", nullable = false)
    25     private Integer petId;
     26    private int petId;
    2627
    2728    @Column(name="id_surendee")
    28     private Integer surendeeId;
     29    private int surendeeId;
    2930
    3031    @Column(name="id_employee")
    31     private Integer employeeId;
     32    private int employeeId;
    3233
    33     public Post(LocalDate dateCreated, String thumbnailUrl, Integer petId, Integer surendeeId, Integer employeeId) {
     34    public Post(LocalDate dateCreated, String thumbnailUrl, int petId, int surendeeId, int employeeId) {
    3435        this.dateCreated = dateCreated;
    3536        this.thumbnailUrl = thumbnailUrl;
Note: See TracChangeset for help on using the changeset viewer.