Passport/pkg/internal/models/badges.go

12 lines
217 B
Go
Raw Normal View History

2024-06-02 12:15:04 +00:00
package models
2024-06-02 12:45:56 +00:00
import "gorm.io/datatypes"
2024-06-02 12:15:04 +00:00
type Badge struct {
BaseModel
2024-06-02 12:45:56 +00:00
Type string `json:"type"`
Metadata datatypes.JSONMap `json:"metadata"`
AccountID uint `json:"account_id"`
2024-06-02 12:15:04 +00:00
}