dto

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 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 Artist

type Artist struct {
	Id         string
	Name       string
	BornDied   string
	Schools    string
	Profession string
	Url        string
	BioExcerpt string
	Jsonld     string
	Bio        string
	Works      ImageGrid
}

type ArtistsView

type ArtistsView struct {
	Count      string
	Artists    []Artist
	Pagination string
	Jsonld     string
	QueryStr   string
}

type Artwork

type Artwork struct {
	Id        string
	Title     string
	Comment   string
	Technique string
	Jsonld    string
	Url       string
	Image
	Artist
}

type ArtworkSearchDTO

type ArtworkSearchDTO struct {
	ArtFormOptions     map[string]string
	ArtTypeOptions     map[string]string
	ArtSchoolOptions   map[string]string
	ActiveFilterValues *ArtworkSearchFilterValues
	ArtistNameList     []string
	NewFilterValues    string
	Results            ArtworkSearchResultDTO
}

type ArtworkSearchFilterValues

type ArtworkSearchFilterValues struct {
	ArtFormString string
	ArtTypeString string
	SchoolString  string
	Title         string
	ArtistString  string
}

type ArtworkSearchResultDTO

type ArtworkSearchResultDTO struct {
	ActiveFiltering bool
	Artworks        ImageGrid
	Pagination      string
}

type Image

type Image struct {
	Thumb     string
	Image     string
	Title     string
	Technique string
	Comment   string
	Url       string
	Id        string
	Jsonld    interface{}
	Artist
}

type ImageGrid

type ImageGrid []Image

Jump to

Keyboard shortcuts

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