@@ -41,7 +41,7 @@ public class Violation {
|
||||
|
||||
@CreatedDate
|
||||
@Column(name = "created_at", updatable = false)
|
||||
private LocalDateTime createdDate;
|
||||
private LocalDateTime createdDate = LocalDateTime.now();
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@JoinColumn(name = "file")
|
||||
|
||||
Reference in New Issue
Block a user