People: Add PhotoPeople property to Photo struct #22
This commit is contained in:
parent
c2a8098b6c
commit
07d1a74be8
1 changed files with 1 additions and 0 deletions
|
@ -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"`
|
||||
|
|
Loading…
Reference in a new issue