package kr.wisestone.owl.domain; import kr.wisestone.owl.domain.enumType.SocialType; import org.springframework.security.core.userdetails.UserDetails; import javax.persistence.*; import java.io.Serializable; import java.security.Principal; @Entity public class UserHistory extends BaseEntity implements Serializable { public static final String HISTORY_LOGIN = "LOGIN"; public static final String HISTORY_LOGOUT = "LOGOUT"; @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; private String historyType; public Long getId(){ return this.id; } public void setId(Long id) { this.id = id; } public String getHistoryType() { return this.historyType; } public void setHistoryType(String historyType) { this.historyType = historyType; } public UserHistory() { } }