- Timestamp:
- 10/18/22 00:50:33 (2 years ago)
- Branches:
- master
- Children:
- 763289e
- Parents:
- 401a211
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/edu/gjoko/schedlr/entity/Stakeholder.java
r401a211 r204464d 5 5 import lombok.NoArgsConstructor; 6 6 import lombok.Setter; 7 import org.springframework.data.annotation.CreatedDate; 8 import org.springframework.data.annotation.LastModifiedDate; 9 import org.springframework.data.jpa.domain.support.AuditingEntityListener; 7 10 8 11 import javax.persistence.*; … … 10 13 11 14 @Entity 15 @EntityListeners(AuditingEntityListener.class) 12 16 @Table(name = "stakeholder") 13 17 @Getter … … 41 45 42 46 @Column(name = "created") 47 @CreatedDate 43 48 private LocalDateTime created; 44 49 45 50 @Column(name = "modified") 51 @LastModifiedDate 46 52 private LocalDateTime modified; 47 53 }
Note:
See TracChangeset
for help on using the changeset viewer.