|
@@ -43,14 +43,20 @@ type MatLib struct {
|
|
|
type Shape struct {
|
|
|
Id primitive.ObjectID `bson:"_id,omitempty" json:"_id"`
|
|
|
Name string `bson:"name,omitempty" json:"name"`
|
|
|
+ Title string `bson:"title,omitempty" json:"title"`
|
|
|
+ UseFor string `bson:"useFor,omitempty" json:"useFor"`
|
|
|
Desc string `bson:"desc,omitempty" json:"desc"`
|
|
|
+ Categories []string `bson:"categories,omitempty" json:"categories"`
|
|
|
CreateTime time.Time `bson:"createTime,omitempty" json:"createTime"`
|
|
|
UpdateTime time.Time `bson:"updateTime,omitempty" json:"updateTime"`
|
|
|
}
|
|
|
type Finish struct {
|
|
|
Id primitive.ObjectID `bson:"_id,omitempty" json:"_id"`
|
|
|
Name string `bson:"name,omitempty" json:"name"`
|
|
|
+ Title string `bson:"title,omitempty" json:"title"`
|
|
|
Desc string `bson:"desc,omitempty" json:"desc"`
|
|
|
+ UseFor string `bson:"useFor,omitempty" json:"useFor"`
|
|
|
+ Categories []string `bson:"categories,omitempty" json:"categories"`
|
|
|
CreateTime time.Time `bson:"createTime,omitempty" json:"createTime"`
|
|
|
UpdateTime time.Time `bson:"updateTime,omitempty" json:"updateTime"`
|
|
|
}
|