31 lines
523 B
Go
31 lines
523 B
Go
package models
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type MediaEXIF struct {
|
|
Model
|
|
Camera *string
|
|
Maker *string
|
|
Lens *string
|
|
DateShot *time.Time
|
|
Exposure *string
|
|
Aperture *float64
|
|
Iso *int
|
|
FocalLength *float64
|
|
Flash *string
|
|
Orientation *int
|
|
ExposureProgram *int
|
|
GPSLatitude *float64
|
|
GPSLonitude *float64
|
|
}
|
|
|
|
func (MediaEXIF) TableName() string {
|
|
return "media_exif"
|
|
}
|
|
|
|
func (exif *MediaEXIF) Media() *Media {
|
|
panic("not implemented")
|
|
}
|