linstrom/storage/userInfoFields.go
2024-09-12 16:57:53 +02:00

15 lines
396 B
Go

package storage
import (
"time"
"gorm.io/gorm"
)
// Describes a custom attribute field for accounts
type UserInfoField struct {
gorm.Model // Can actually just embed this as is here as those are not something directly exposed :3
Name string
Value string
LastUrlCheckDate *time.Time // Used if the value is an url to somewhere. Empty if value is not an url
}