Files
kontor/go/pkg/tysc/team.go
T
2025-01-09 19:28:50 +01:00

15 lines
439 B
Go

package tysc
import (
"gopkg.in/mgo.v2/bson"
)
// Team defines the data model for TYSC teams with id, name and sport.
type Team struct {
ID bson.ObjectId `json:"_id" bson:"_id,omitempty"`
Name string `json:"name" bson:"name"`
Shortname string `json:"shortname" bson:"shortname"`
Sport bson.ObjectId `json:"sport" bson:"sport,omitempty"`
Model string `json:"model" bson:"model,omitempty"`
}