portal/model/key.go

17 lines
236 B
Go
Raw Permalink Normal View History

2023-04-29 17:38:21 +00:00
package model
import (
"gorm.io/gorm"
"time"
)
type Key struct {
gorm.Model
ID uint `gorm:"primaryKey" gorm:"AUTO_INCREMENT"`
AccountID uint
Account Account
Pubkey string
CreatedAt time.Time
UpdatedAt time.Time
2023-04-29 17:38:21 +00:00
}