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