|
@@ -1,15 +1,15 @@
|
|
|
package cn.efunbox.audio.entity;
|
|
|
|
|
|
|
|
|
-import cn.efunbox.audio.consts.Status;
|
|
|
import lombok.Data;
|
|
|
import lombok.ToString;
|
|
|
import org.hibernate.annotations.DynamicInsert;
|
|
|
import org.hibernate.annotations.DynamicUpdate;
|
|
|
|
|
|
-import javax.persistence.*;
|
|
|
+import javax.persistence.Column;
|
|
|
+import javax.persistence.Entity;
|
|
|
+import javax.persistence.Id;
|
|
|
import java.io.Serializable;
|
|
|
-import java.sql.Timestamp;
|
|
|
import java.util.Date;
|
|
|
|
|
|
/**
|
|
@@ -26,7 +26,6 @@ import java.util.Date;
|
|
|
public class Record implements Serializable, Cloneable {
|
|
|
|
|
|
@Id
|
|
|
- @GeneratedValue
|
|
|
private Long id;
|
|
|
|
|
|
//渠道编号
|
|
@@ -47,7 +46,7 @@ public class Record implements Serializable, Cloneable {
|
|
|
@Column
|
|
|
// @Temporal(TemporalType.TIMESTAMP)
|
|
|
// private Date created;
|
|
|
- private Timestamp created;
|
|
|
+ private Date created;
|
|
|
|
|
|
public Object clone() throws CloneNotSupportedException {
|
|
|
return super.clone();
|