mirror of
https://github.com/lejianwen/rustdesk-api.git
synced 2025-12-02 10:03:16 +00:00
feat(peer): add alias field and support filtering by alias
This commit is contained in:
@@ -15,6 +15,7 @@ type Peer struct {
|
||||
LastOnlineTime int64 `json:"last_online_time" gorm:"default:0;not null;"`
|
||||
LastOnlineIp string `json:"last_online_ip" gorm:"default:'';not null;"`
|
||||
GroupId uint `json:"group_id" gorm:"default:0;not null;index"`
|
||||
Alias string `json:"alias" gorm:"default:'';not null;index"`
|
||||
TimeModel
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user