portal/model/key.go

18 lines
239 B
Go
Raw Normal View History

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