package tysc

import (
	"gopkg.in/mgo.v2/bson"
)

// Card defines the data model for TYSC cards.
type Card struct {
	ID           bson.ObjectId `json:"_id" bson:"_id,omitempty"`
	Player       bson.ObjectId `json:"player" bson:"player,omitempty"`
	Team         bson.ObjectId `json:"team" bson:"team,omitempty"`
	Manufacturer bson.ObjectId `json:"manufacturer" bson:"manufacturer,omitempty"`
	CardSet      bson.ObjectId `json:"cardset" bson:"cardset,omitempty"`
	ParallelSet  bson.ObjectId `json:"parallelset" bson:"paralelset,omitempty"`
	InsertSet    bson.ObjectId `json:"insertset" bson:"insertset,omitempty"`
	Rookie       bool          `json:"rookie" bson:"rookie,omitempty"`
	Year         int           `json:"year" bson:"year,omitempty"`
	Number       int           `json:"number" bson:"number,omitempty"`
	Model        string        `json:"model" bson:"model,omitempty"`
}
