diff --git a/src/main/java/com/loafle/overflow/agent/model/Agent.java b/src/main/java/com/loafle/overflow/agent/model/Agent.java index 4864ec4..69a6ae4 100644 --- a/src/main/java/com/loafle/overflow/agent/model/Agent.java +++ b/src/main/java/com/loafle/overflow/agent/model/Agent.java @@ -1,9 +1,6 @@ package com.loafle.overflow.agent.model; -import javax.persistence.Entity; -import javax.persistence.GeneratedValue; -import javax.persistence.GenerationType; -import javax.persistence.Id; +import javax.persistence.*; import java.io.Serializable; /** @@ -16,9 +13,9 @@ public class Agent implements Serializable { @GeneratedValue(strategy= GenerationType.IDENTITY) private Long id; + @Column(name="AUTHORIZED_DATE") private Long authorizedDate; - public Long getId() { return id; }