- Timestamp:
- 02/02/23 18:27:30 (17 months ago)
- Branches:
- main
- Children:
- 4885da3, 579bf6d, a3aea2a
- Parents:
- 6f9c38f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Prototype Application/Paw5/src/main/java/finki/paw5/model/Post.java
r6f9c38f rfdfc6fa 7 7 import lombok.Data; 8 8 9 import java.time.LocalDate; 9 10 import java.util.Date; 10 11 … … 19 20 20 21 @Column(name="date_post", nullable = false) 21 private Date dateCreated;22 private LocalDate dateCreated; 22 23 23 24 @Column(name="url_thumbanail", length = 200) … … 33 34 private int employeeId; 34 35 35 public Post( Date dateCreated, String thumbnailUrl, int petId, int surendeeId, int employeeId) {36 public Post(LocalDate dateCreated, String thumbnailUrl, int petId, int surendeeId, int employeeId) { 36 37 this.dateCreated = dateCreated; 37 38 this.thumbnailUrl = thumbnailUrl;
Note:
See TracChangeset
for help on using the changeset viewer.