mirror of
https://github.com/jie65535/DaemonService.git
synced 2024-07-27 19:04:56 +08:00
update
增加手动移出白名单 连续连接移出白名单
This commit is contained in:
26
model.h
Normal file
26
model.h
Normal file
@@ -0,0 +1,26 @@
|
||||
#ifndef MODEL_H
|
||||
#define MODEL_H
|
||||
#include <QString>
|
||||
#include <QDateTime>
|
||||
|
||||
struct BlackListItem
|
||||
{
|
||||
BlackListItem(){}
|
||||
BlackListItem(int id, QString ip, QDateTime time, QString remarks)
|
||||
: ID(id), IP(ip), Time(time), Remarks(remarks) {}
|
||||
int ID;
|
||||
QString IP;
|
||||
QDateTime Time;
|
||||
QString Remarks;
|
||||
};
|
||||
struct WhiteListItem
|
||||
{
|
||||
WhiteListItem(){}
|
||||
WhiteListItem(int id, QString ip, int port, QDateTime time)
|
||||
: ID(id), IP(ip), Port(port), LastUpdateTime(time) {}
|
||||
int ID;
|
||||
QString IP;
|
||||
int Port;
|
||||
QDateTime LastUpdateTime;
|
||||
};
|
||||
#endif // MODEL_H
|
||||
Reference in New Issue
Block a user