package models

// Token represents an API token
type Token struct {
	ID        []byte `gorm:"type:BINARY(16);primaryKey"`
	Name      string `gorm:"column:name;size:100"`
	UserOrgID uint   `gorm:"column:userOrgId;not null"`

	UserOrg UserOrg `gorm:"foreignKey:UserOrgID"`
}
