mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-08 01:10:19 +03:00
18 lines
398 B
Go
18 lines
398 B
Go
package model
|
|
|
|
import datatype "github.com/pocket-id/pocket-id/backend/internal/model/types"
|
|
|
|
type ApiKey struct {
|
|
Base
|
|
|
|
Name string `sortable:"true"`
|
|
Key string
|
|
Description *string
|
|
ExpiresAt datatype.DateTime `sortable:"true"`
|
|
LastUsedAt *datatype.DateTime `sortable:"true"`
|
|
ExpirationEmailSent bool
|
|
|
|
UserID string
|
|
User User
|
|
}
|