model

package
v0.0.0-...-076fb55 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Company

type Company struct {
	ID          string              `json:"id"`
	Owner       *CompanyOwner       `json:"owner"`
	Information *CompanyInformation `json:"information"`
	Franchises  []*Franchise        `json:"franchises"`
}

type CompanyInformation

type CompanyInformation struct {
	Name      string    `json:"name"`
	TaxNumber string    `json:"tax_number"`
	Location  *Location `json:"location"`
}

type CompanyOwner

type CompanyOwner struct {
	ID        string               `json:"id"`
	Name      string               `json:"name"`
	FirstName string               `json:"firstName"`
	LastName  string               `json:"lastName"`
	Contact   *CompanyOwnerContact `json:"contact"`
}

type CompanyOwnerContact

type CompanyOwnerContact struct {
	Email    string    `json:"email"`
	Phone    string    `json:"phone"`
	Location *Location `json:"location"`
}

type CreateFranchiseInput

type CreateFranchiseInput struct {
	URL string `json:"url"`
}

type CreatedFranchise

type CreatedFranchise struct {
	ID  string `json:"id"`
	URL string `json:"url"`
}

type FindFranchisesCriteria

type FindFranchisesCriteria struct {
	Name    *string `json:"name,omitempty"`
	Company *string `json:"company,omitempty"`
	City    *string `json:"city,omitempty"`
	Country *string `json:"country,omitempty"`
}

type Franchise

type Franchise struct {
	ID       string    `json:"id"`
	Title    string    `json:"title"`
	Name     string    `json:"name"`
	URL      string    `json:"url"`
	Location *Location `json:"location"`
}

type Location

type Location struct {
	ZipCode string `json:"zip_code"`
	Adress  string `json:"adress"`
	City    string `json:"city"`
	Country string `json:"country"`
}

type Mutation

type Mutation struct {
}

type Query

type Query struct {
}

type UpdateFranchiseInput

type UpdateFranchiseInput struct {
	ID       string               `json:"id"`
	Title    *string              `json:"title,omitempty"`
	Name     *string              `json:"name,omitempty"`
	Location *UpdateLocationInput `json:"location,omitempty"`
}

type UpdateLocationInput

type UpdateLocationInput struct {
	ZipCode *string `json:"zip_code,omitempty"`
	Adress  *string `json:"adress,omitempty"`
	City    *string `json:"city,omitempty"`
	Country *string `json:"country,omitempty"`
}

Jump to

Keyboard shortcuts

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