import sources from develop/0.1.0
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package comics
|
||||
|
||||
import (
|
||||
"gopkg.in/mgo.v2/bson"
|
||||
)
|
||||
|
||||
// Comic defines the data model for comic issues with id, title, publisher, order and completion status.
|
||||
type Comic struct {
|
||||
ID bson.ObjectId `json:"_id" bson:"_id,omitempty"`
|
||||
Title string `json:"title" bson:"title"`
|
||||
Publisher bson.ObjectId `json:"publisher" bson:"publisher,omitempty"`
|
||||
CurrentOrder bool `json:"current_order" bson:"current_order"`
|
||||
Completed bool `json:"completed" bson:"completed"`
|
||||
Model string `json:"model" bson:"model"`
|
||||
}
|
||||
Reference in New Issue
Block a user