voce/model/rechnung.go

15 lines
246 B
Go
Raw Normal View History

2015-09-24 18:42:56 +02:00
package model
import (
"time"
"gopkg.in/mgo.v2/bson"
)
type Post struct {
Id bson.ObjectId `bson:"_id,omitempty" json:"id"`
Date time.Time `json:"date"`
Amount float64 `json:"amount"`
Note string `json:"note"`
}