Skip to content

Commit

Permalink
FKS-1048: Add constructors
Browse files Browse the repository at this point in the history
  • Loading branch information
sourcecodeas committed Jan 24, 2025
1 parent c6bdf38 commit 3a18d72
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/java/no/fintlabs/audit/AuditEntity.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

import jakarta.persistence.EntityListeners;
import jakarta.persistence.MappedSuperclass;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import org.springframework.data.annotation.CreatedBy;
import org.springframework.data.annotation.CreatedDate;
Expand All @@ -13,7 +15,8 @@

@EntityListeners(AuditingEntityListener.class)
@MappedSuperclass
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
public class AuditEntity {
@CreatedDate
private Instant createdDate;
Expand Down

0 comments on commit 3a18d72

Please sign in to comment.