mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-10 23:32:56 +03:00
19 lines
328 B
Go
19 lines
328 B
Go
package model
|
|
|
|
import (
|
|
"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"`
|
|
|
|
UserID string
|
|
User User
|
|
}
|