Files
RUSTDESK-AP-SERVER-SUNLIX/model/userToken.go
2024-09-13 15:57:29 +08:00

10 lines
259 B
Go

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
}