11 lines
115 B
Go
11 lines
115 B
Go
|
package models
|
||
|
|
||
|
import "gorm.io/gorm"
|
||
|
|
||
|
type APIKey struct {
|
||
|
gorm.Model
|
||
|
UserID uint
|
||
|
Key string
|
||
|
User User
|
||
|
}
|