Ignore:
Timestamp:
02/02/23 18:32:19 (17 months ago)
Author:
SazdovaEkaterina <sazdovaekaterina@…>
Branches:
main
Children:
1bd0a56
Parents:
6a17c29 (diff), fdfc6fa (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'create-models' into create-post

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Prototype Application/Paw5/src/main/java/finki/paw5/model/Post.java

    r6a17c29 ra3aea2a  
    77import lombok.Data;
    88
     9import java.time.LocalDate;
    910import java.util.Date;
    1011
     
    1920
    2021    @Column(name="date_post", nullable = false)
    21     private Date dateCreated;
     22    private LocalDate dateCreated;
    2223
    2324    @Column(name="url_thumbanail", length = 200)
     
    3334    private int employeeId;
    3435
    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) {
    3637        this.dateCreated = dateCreated;
    3738        this.thumbnailUrl = thumbnailUrl;
Note: See TracChangeset for help on using the changeset viewer.