initial
This commit is contained in:
14
model/rechnung.go
Normal file
14
model/rechnung.go
Normal file
@ -0,0 +1,14 @@
|
||||
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"`
|
||||
}
|
Reference in New Issue
Block a user