Ignore:
Timestamp:
03/13/23 00:58:07 (16 months ago)
Author:
Gjoko Kostadinov <gjoko.kostadinov@…>
Branches:
master
Children:
9050790
Parents:
2b0a4db
Message:

Add admin page initial work.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/edu/gjoko/schedlr/entity/Appointment.java

    r2b0a4db r46fd0c7  
    55import lombok.NoArgsConstructor;
    66import lombok.Setter;
     7import org.springframework.data.annotation.LastModifiedDate;
     8import org.springframework.data.jpa.domain.support.AuditingEntityListener;
    79
    810import javax.persistence.*;
     
    1012
    1113@Entity
     14@EntityListeners(AuditingEntityListener.class)
    1215@Table(name = "appointment")
    1316@Getter
     
    3134
    3235    @Column(name = "created")
     36    @LastModifiedDate
    3337    private LocalDateTime created;
    3438
    3539    @Column(name = "modified")
     40    @LastModifiedDate
    3641    private LocalDateTime modified;
    3742}
Note: See TracChangeset for help on using the changeset viewer.