fixed
dh
This commit is contained in:
parent
df5a93e878
commit
c4a6771a83
|
@ -1,5 +1,7 @@
|
|||
package com.loafle.bridge.discoveryhistory;
|
||||
|
||||
import com.loafle.bridge.discoveryzone.DiscoveryZone;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.util.Date;
|
||||
|
||||
|
@ -14,16 +16,24 @@ public class DiscoveryHistory
|
|||
@GeneratedValue(strategy = GenerationType.AUTO)
|
||||
private long id;
|
||||
|
||||
@Column(columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP", nullable = false, updatable = false)
|
||||
@Column(nullable = false, updatable = false)
|
||||
private Date startDate;
|
||||
@Column(columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP", updatable = false)
|
||||
@Column(updatable = false)
|
||||
private Date endDate;
|
||||
|
||||
@Column(nullable=false)
|
||||
private Boolean result;
|
||||
|
||||
// private null DiscoveryZone;
|
||||
@Column(nullable=false)
|
||||
private DiscoveryZone zone;
|
||||
|
||||
public DiscoveryZone getZone() {
|
||||
return zone;
|
||||
}
|
||||
|
||||
public void setZone(DiscoveryZone zone) {
|
||||
this.zone = zone;
|
||||
}
|
||||
|
||||
public long getId() {
|
||||
return id;
|
||||
|
|
Loading…
Reference in New Issue
Block a user