Passport/pkg/internal/models/badges.go
2024-06-16 23:17:32 +08:00

12 lines
217 B
Go

package models
import "gorm.io/datatypes"
type Badge struct {
BaseModel
Type string `json:"type"`
Metadata datatypes.JSONMap `json:"metadata"`
AccountID uint `json:"account_id"`
}