package library

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

// Author defines the data model for library authors with id and name.
type Author struct {
	ID    bson.ObjectId `json:"_id" bson:"_id,omitempty"`
	Name  string        `json:"name" bson:"name"`
	Model string        `json:"model" bson:"model,omitempty"`
}
