Skip to content

Commit

Permalink
Refactor: BaseTimeEntity 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
gunGeongun committed Nov 12, 2024
1 parent 3c8f436 commit 8cf1fc7
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@
@Getter
public abstract class BaseTimeEntity {
@CreatedDate
@Column(updatable = false)
private LocalDateTime createdDate;
@Column(name = "created_at", columnDefinition = "DATETIME(0)")
private LocalDateTime createdAt;

@LastModifiedDate
private LocalDateTime modifiedDate;
@Column(name = "modified_at", columnDefinition = "DATETIME(0)")
private LocalDateTime modifiedAt;
}

0 comments on commit 8cf1fc7

Please sign in to comment.