2020-02-24 23:30:08 +01:00
|
|
|
package models
|
|
|
|
|
|
|
|
import (
|
|
|
|
"time"
|
2020-11-23 19:59:01 +01:00
|
|
|
|
|
|
|
"gorm.io/gorm"
|
2020-02-24 23:30:08 +01:00
|
|
|
)
|
|
|
|
|
2020-07-10 14:26:19 +02:00
|
|
|
type MediaEXIF struct {
|
2020-11-23 19:59:01 +01:00
|
|
|
gorm.Model
|
2020-02-24 23:30:08 +01:00
|
|
|
Camera *string
|
|
|
|
Maker *string
|
|
|
|
Lens *string
|
|
|
|
DateShot *time.Time
|
|
|
|
Exposure *string
|
|
|
|
Aperture *float64
|
|
|
|
Iso *int
|
|
|
|
FocalLength *float64
|
|
|
|
Flash *string
|
|
|
|
Orientation *int
|
|
|
|
ExposureProgram *int
|
2020-08-11 14:46:23 +02:00
|
|
|
GPSLatitude *float64
|
|
|
|
GPSLonitude *float64
|
2020-02-24 23:30:08 +01:00
|
|
|
}
|