mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-11 15:52:58 +03:00
17 lines
332 B
Go
17 lines
332 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"`
|
|
|
|
UserID string
|
|
User User
|
|
}
|