mirror of
https://github.com/lejianwen/rustdesk-api.git
synced 2026-03-04 12:58:19 +00:00
first
This commit is contained in:
9
model/userToken.go
Normal file
9
model/userToken.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package model
|
||||
|
||||
type UserToken struct {
|
||||
IdModel
|
||||
UserId uint `json:"user_id" gorm:"default:0;not null;index"`
|
||||
Token string `json:"token" gorm:"default:'';not null;index"`
|
||||
ExpiredAt int64 `json:"expired_at" gorm:"default:0;not null;"`
|
||||
TimeModel
|
||||
}
|
||||
Reference in New Issue
Block a user