package model

import (
	"time"

	"go.mongodb.org/mongo-driver/bson/primitive"
)

// 一套360度图片
type Asset360Group struct {
	Id        string
	GroupName string //白色
	Name      string //正视

	//36张图片信息
	ImagesPath  string //https://oss.xxx/id/
	ImageWidth  int    //1944,
	ImageHeight int    //2592,

	Url string //http://192.168.110.115:8082/scene/Id/index.html?assetPath="https:/xxx/xx"
}

type Asset360Fake3d struct {
	Id       primitive.ObjectID `bson:"_id,omitempty" json:"_id"`
	SupplyId primitive.ObjectID `bson:"supplyId,omitempty" json:"supplyId"`

	//鞋子型号
	Name       string    `bson:"name,omitempty" json:"name"`
	CreateTime time.Time `bson:"createTime,omitempty" json:"createTime"`
	Thumbnail  string    `bson:"thumbnail,omitempty" json:"thumbnail"`

	Groups []*Asset360Group `bson:"groups,omitempty" json:"groups"`
}
