add leaui_image plugin for replace leanote_image. on a train to ChangSha
This commit is contained in:
15
app/info/AlbumInfo.go
Normal file
15
app/info/AlbumInfo.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package info
|
||||
|
||||
import (
|
||||
"labix.org/v2/mgo/bson"
|
||||
"time"
|
||||
)
|
||||
|
||||
type Album struct {
|
||||
AlbumId bson.ObjectId `bson:"_id,omitempty"` //
|
||||
UserId bson.ObjectId `bson:"UserId"`
|
||||
Name string `Name` // album name
|
||||
Type int `Type` // type, the default is image: 0
|
||||
Seq int `Seq`
|
||||
CreatedTime time.Time `CreatedTime`
|
||||
}
|
||||
Reference in New Issue
Block a user