mirror of
https://github.com/ente-io/ente.git
synced 2025-05-22 11:20:30 +00:00
17 lines
557 B
Go
17 lines
557 B
Go
package models
|
|
|
|
type AuthKey struct {
|
|
UserID int64 `json:"userID" binding:"required"`
|
|
EncryptedKey string `json:"encryptedKey" binding:"required"`
|
|
Header string `json:"header" binding:"required"`
|
|
}
|
|
|
|
type AuthEntity struct {
|
|
ID string `json:"id" binding:"required"`
|
|
EncryptedKey *string `json:"encryptedKey"`
|
|
Header *string `json:"header"`
|
|
IsDeleted bool `json:"isDeleted" binding:"required"`
|
|
CreatedAt int64 `json:"createdAt" binding:"required"`
|
|
UpdatedAt int64 `json:"updatedAt" binding:"required"`
|
|
}
|