zj
2025-06-25 7f45e436fe6d33784356f660ac328f72c00733fb
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
package project.ddos.model;
 
import java.util.Date;
 
import javax.persistence.Column;
import javax.persistence.Table;
 
import kernel.bo.EntityObject;
 
@Table(name="T_IP_MENU")
public class IpMenu extends EntityObject {
    /**
     * UID
     */
    private static final long serialVersionUID = -4196439149608747292L;
    
    /**
     * 白名单
     */
    public static final String IP_WHITE = "white";
    
    /**
     * 黑名单
     */
    public static final String IP_BLACK = "black";
    
    /**
     * 锁定名单
     */
    public static final String IP_LOCK = "lock";
    
    /**
     * ip
     */
    @Column(name="IP")
    private String ip;
    
    /**
     * 类型 :black:黑名单,white:白名单
     */
    @Column(name="TYPE")
    private String type;
    
    /**
     * -1:标记删除,0:正常
     */
    @Column(name="DELETE_STATUS")
    private int delete_status;
    
    /**
     * 创建时间
     */
    @Column(name="CREATE_TIME")
    private Date create_time;
    
    /**
     * 最后处理时间
     */
    @Column(name="LAST_OPERA_TIME")
    private Date last_opera_time;
 
    public String getIp() {
        return ip;
    }
 
    public String getType() {
        return type;
    }
 
    public int getDelete_status() {
        return delete_status;
    }
 
    public Date getCreate_time() {
        return create_time;
    }
 
    public Date getLast_opera_time() {
        return last_opera_time;
    }
 
    public void setIp(String ip) {
        this.ip = ip;
    }
 
    public void setType(String type) {
        this.type = type;
    }
 
    public void setDelete_status(int delete_status) {
        this.delete_status = delete_status;
    }
 
    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }
 
    public void setLast_opera_time(Date last_opera_time) {
        this.last_opera_time = last_opera_time;
    }
}