model

package
v0.0.0-...-225b2eb Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2025 License: MIT Imports: 0 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmailHost

type EmailHost struct {
	ID string `json:"id"`
}

func (EmailHost) IsEntity

func (EmailHost) IsEntity()

type Manufacturer

type Manufacturer struct {
	ID string `json:"id"`
}

func (Manufacturer) IsEntity

func (Manufacturer) IsEntity()

type Product

type Product struct {
	ID           string        `json:"id"`
	Manufacturer *Manufacturer `json:"manufacturer"`
	Reviews      []*Review     `json:"reviews"`
}

func (Product) IsEntity

func (Product) IsEntity()

type ProductByManufacturerIDAndIDsInput

type ProductByManufacturerIDAndIDsInput struct {
	ManufacturerID string `json:"ManufacturerID"`
	ID             string `json:"ID"`
}

type Query

type Query struct {
}

type Review

type Review struct {
	Body        string
	Author      *User
	Product     *Product
	HostIDEmail string
}

type User

type User struct {
	ID    string     `json:"id"`
	Host  *EmailHost `json:"host"`
	Email string     `json:"email"`
}

func (User) IsEntity

func (User) IsEntity()

Jump to

Keyboard shortcuts

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