2020-05-08 15:41:01 +02:00
|
|
|
package query
|
|
|
|
|
|
|
|
import (
|
|
|
|
"time"
|
|
|
|
)
|
|
|
|
|
|
|
|
// LabelResult contains found labels
|
|
|
|
type LabelResult struct {
|
|
|
|
// Label
|
2020-05-23 20:58:58 +02:00
|
|
|
ID uint `json:"ID"`
|
|
|
|
LabelUID string `json:"UID"`
|
2021-08-30 18:58:27 +02:00
|
|
|
Thumb string `json:"Thumb"`
|
|
|
|
ThumbSrc string `json:"ThumbSrc"`
|
2020-05-23 20:58:58 +02:00
|
|
|
LabelSlug string `json:"Slug"`
|
|
|
|
CustomSlug string `json:"CustomSlug"`
|
|
|
|
LabelName string `json:"Name"`
|
|
|
|
LabelPriority int `json:"Priority"`
|
|
|
|
LabelFavorite bool `json:"Favorite"`
|
|
|
|
LabelDescription string `json:"Description"`
|
|
|
|
LabelNotes string `json:"Notes"`
|
|
|
|
PhotoCount int `json:"PhotoCount"`
|
|
|
|
CreatedAt time.Time `json:"CreatedAt"`
|
|
|
|
UpdatedAt time.Time `json:"UpdatedAt"`
|
|
|
|
DeletedAt time.Time `json:"DeletedAt,omitempty"`
|
2020-05-08 15:41:01 +02:00
|
|
|
}
|