2019-12-11 15:55:18 +00:00
|
|
|
package entity
|
2018-09-16 17:09:40 +00:00
|
|
|
|
2018-11-06 18:02:03 +00:00
|
|
|
// Photo location
|
2018-09-16 17:09:40 +00:00
|
|
|
type Location struct {
|
2019-06-04 16:26:35 +00:00
|
|
|
Model
|
2018-09-16 17:09:40 +00:00
|
|
|
LocDisplayName string
|
|
|
|
LocLat float64
|
|
|
|
LocLong float64
|
|
|
|
LocCategory string
|
|
|
|
LocType string
|
|
|
|
LocName string
|
2018-09-26 13:00:12 +00:00
|
|
|
LocHouseNr string
|
|
|
|
LocStreet string
|
|
|
|
LocSuburb string
|
2018-09-16 17:09:40 +00:00
|
|
|
LocCity string
|
|
|
|
LocPostcode string
|
|
|
|
LocCounty string
|
|
|
|
LocState string
|
|
|
|
LocCountry string
|
|
|
|
LocCountryCode string
|
2018-09-19 07:20:57 +00:00
|
|
|
LocDescription string `gorm:"type:text;"`
|
|
|
|
LocNotes string `gorm:"type:text;"`
|
|
|
|
LocPhoto *Photo
|
|
|
|
LocPhotoID uint
|
2018-09-16 17:09:40 +00:00
|
|
|
LocFavorite bool
|
2018-09-17 16:40:57 +00:00
|
|
|
}
|