Collector

This commit is contained in:
insanity 2016-11-16 13:28:04 +09:00
parent cd4aa2a085
commit 9ff1e84a8c

View File

@ -1,5 +1,8 @@
package com.loafle.bridge.collector; package com.loafle.bridge.collector;
import org.hibernate.annotations.Generated;
import org.hibernate.annotations.GenerationTime;
import javax.persistence.*; import javax.persistence.*;
import java.util.Date; import java.util.Date;
@ -32,7 +35,7 @@ public class Collector {
@Column(columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP", nullable = false) @Column(columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP", nullable = false)
private Date installDate; private Date installDate;
@Column(columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP") @Column(columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP", nullable = false)
private Date updateDate; private Date updateDate;
public Collector() { public Collector() {