SimpleCloudNotifier/server/api/models/client.go
2022-11-18 21:25:40 +01:00

24 lines
378 B
Go

package models
import "time"
type ClientType string
const (
ClientTypeAndroid ClientType = "ANDROID"
ClientTypeIOS ClientType = "IOS"
)
type Client struct {
ClientID int64
UserID int64
Type ClientType
FCMToken *string
TimestampCreated time.Time
AgentModel string
AgentVersion string
}
type ClientJSON struct {
}