People: Add PhotoPeople property to Photo struct #22

This commit is contained in:
Michael Mayer 2021-05-25 11:39:22 +02:00
parent c2a8098b6c
commit 07d1a74be8

View file

@ -74,6 +74,7 @@ type Photo struct {
PhotoYear int `gorm:"index:idx_photos_country_year_month;" json:"Year" yaml:"Year"`
PhotoMonth int `gorm:"index:idx_photos_country_year_month;" json:"Month" yaml:"Month"`
PhotoDay int `json:"Day" yaml:"Day"`
PhotoPeople int `json:"People,omitempty" yaml:"People,omitempty"`
PhotoIso int `json:"Iso" yaml:"ISO,omitempty"`
PhotoExposure string `gorm:"type:VARBINARY(64);" json:"Exposure" yaml:"Exposure,omitempty"`
PhotoFNumber float32 `gorm:"type:FLOAT;" json:"FNumber" yaml:"FNumber,omitempty"`