package waket.remote.entity;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

@Entity
@Table(name = "online_data")
public class OnlineData {
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	public Integer id;
	
	@Temporal(TemporalType.TIMESTAMP)
	public Date datetime;
	
	public String hash;
	
	public Integer version;
	
	public String key;
}
