annotation
This commit is contained in:
parent
8d9efcade6
commit
2d070eb981
|
@ -31,11 +31,10 @@ public class Collector {
|
|||
@Column(nullable = false)
|
||||
private String configPath;
|
||||
|
||||
@Temporal(TemporalType.TIMESTAMP)
|
||||
@Column(nullable = false)
|
||||
@Column(columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP", nullable = false, insertable = false, updatable = false)
|
||||
private Date installDate;
|
||||
|
||||
@Temporal(TemporalType.TIMESTAMP)
|
||||
@Column(columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP", nullable = false, insertable = false)
|
||||
private Date updateDate;
|
||||
|
||||
public Collector() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user