|
@@ -6,15 +6,22 @@ import (
|
|
|
"go.mongodb.org/mongo-driver/bson/primitive"
|
|
|
)
|
|
|
|
|
|
+type ShapeInfo struct {
|
|
|
+ Id primitive.ObjectID `bson:"id,omitempty" json:"id"`
|
|
|
+ Name string `bson:"name,omitempty" json:"name"`
|
|
|
+}
|
|
|
+
|
|
|
// 表面工艺信息
|
|
|
type MeshComp struct {
|
|
|
- Id string `bson:"id,omitempty" json:"id"`
|
|
|
- Name string `bson:"name,omitempty" json:"name"`
|
|
|
- FabricName string `bson:"fabricName,omitempty" json:"fabricName"`
|
|
|
- FinishUuid string `bson:"finishUuid,omitempty" json:"finishUuid"`
|
|
|
- FabricId primitive.ObjectID `bson:"fabricId,omitempty" json:"fabricId"`
|
|
|
- ShapeIds []primitive.ObjectID `bson:"ShapeIds,omitempty" json:"ShapeIds"`
|
|
|
- FabricThumb string `bson:"fabricThumb,omitempty" json:"fabricThumb"`
|
|
|
+ Id string `bson:"id,omitempty" json:"id"`
|
|
|
+ Name string `bson:"name,omitempty" json:"name"`
|
|
|
+ FabricName string `bson:"fabricName,omitempty" json:"fabricName"`
|
|
|
+ FabricId primitive.ObjectID `bson:"fabricId,omitempty" json:"fabricId"`
|
|
|
+ FinishName string `bson:"finishName,omitempty" json:"finishName"`
|
|
|
+ FinishUuid string `bson:"finishUuid,omitempty" json:"finishUuid"`
|
|
|
+
|
|
|
+ Shapes []ShapeInfo `bson:"shapes,omitempty" json:"shapes"`
|
|
|
+ FinishThumb string `bson:"finishThumb,omitempty" json:"finishThumb"`
|
|
|
}
|
|
|
|
|
|
// 模型库
|