models

package
v0.0.0-...-176e0db Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProjectStand

type ProjectStand struct {
	PosX         *int    `json:"posX,omitempty" bson:"posX,omitempty"`
	PosY         *int    `json:"posY,omitempty" bson:"posY,omitempty"`
	Title        *string `json:"title,omitempty" bson:"title,omitempty"`
	Description  *string `json:"description,omitempty" bson:"description,omitempty"`
	ThumbnailUrl *string `json:"thumbnailUrl,omitempty" bson:"thumbnailUrl,omitempty"`
	ProjectUrl   *string `json:"projectUrl,omitempty" bson:"projectUrl,omitempty"`
	ObjectType   *string `json:"objectType,omitempty" bson:"objectType,omitempty"`
}

type Scene

type Scene struct {
	Type          *string `json:"type,omitempty" bson:"type,omitempty"`
	BackgroundUrl *string `json:"backgroundUrl,omitempty" bson:"backgroundUrl,omitempty"`
	Size          *string `json:"size,omitempty" bson:"size,omitempty"`
}

type ShowcaseRoom

type ShowcaseRoom struct {
	Id            string         `json:"id,omitempty" bson:"_id,omitempty"`
	RoomName      *string        `json:"roomName,omitempty" bson:"roomName,omitempty"`
	Scene         *Scene         `json:"scene,omitempty" bson:"scene,omitempty"`
	DateCreated   *string        `json:"dateCreated,omitempty" bson:"dateCreated,omitempty"`
	CreatedBy     *User          `json:"createdBy,omitempty" bson:"createdBy,omitempty"`
	IsListed      *bool          `json:"isListed,omitempty" bson:"isListed,omitempty"`
	ProjectStands []ProjectStand `json:"projectStands,omitempty" bson:"projectStands,omitempty"`
}

func NewShowcaseRoom

func NewShowcaseRoom() ShowcaseRoom

type User

type User struct {
	UserId      *string `json:"userId,omitempty" bson:"userId,omitempty"`
	FullName    *string `json:"fullName,omitempty" bson:"fullName,omitempty"`
	Email       *string `json:"email,omitempty" bson:"email,omitempty"`
	Role        *string `json:"role,omitempty" bson:"role,omitempty"`
	DateCreated *string `json:"dateCreated,omitempty" bson:"dateCreated,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL