package com.db2eshop.models;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

import com.db2eshop.models.support.AbstractModel;

@Entity
/**
 * <p>Import class.</p>
 *
 * @author Denis Neuling (denisneuling@gmail.com)
 * @version $Id: $Id
 */
public class Import extends AbstractModel<Import> {
	private static final long serialVersionUID = ;


	private Long id;


	private int count;
	
	
	private int date;

	
	public Import() {
	}


	public Long getId() {
		return id;
	}


	public void setId(Long id) {
		this.id = id;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}
	
	public int getDate() {
		return count;
	}

	public void setDate(int date) {
		this.date = date;
	}
}

@@ -23,16 +23,69 @@
 odels;%0A%0A
+import java.io.Serializable;%0Aimport java.util.Date;%0A%0A
 import j
@@ -211,16 +211,90 @@
 ence.Id;
+%0Aimport javax.persistence.Temporal;%0Aimport javax.persistence.TemporalType;
 %0A%0Aimport
@@ -502,16 +502,39 @@
 Import%3E 
+implements Serializable
 %7B%0A%09priva
@@ -573,19 +573,61 @@
 onUID = 
-;%0A%0A
+-8663449394006905708L;%0A%0A%09@Id%0A%09@GeneratedValue
 %0A%09privat
@@ -638,16 +638,24 @@
 ng id;%0A%0A
+%09@Column
 %0A%09privat
@@ -670,16 +670,58 @@
 unt;%0A%09%0A%09
+@Column%0A%09@Temporal(TemporalType.TIMESTAMP)
 %0A%09privat
@@ -726,19 +726,20 @@
 ate 
-int
+Date
  date;%0A%0A
 %09%0A%09p
@@ -734,18 +734,16 @@
  date;%0A%0A
-%09%0A
 %09public 
@@ -753,24 +753,34 @@
 ort() %7B%0A%09%7D%0A%0A
+%09@Override
 %0A%09public Lon
@@ -808,16 +808,26 @@
 id;%0A%09%7D%0A%0A
+%09@Override
 %0A%09public
@@ -1041,19 +1041,20 @@
 setDate(
-int
+Date
  date) %7B
@@ -1078,9 +1078,8 @@
 te;%0A%09%7D%0A%7D
-%0A

fix compilation errors and add jpa annotations