OWL ITS + 탐지시스템(인터넷 진흥원)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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() { }
}