2019-02-09 12:30:49 +00:00
|
|
|
package models
|
|
|
|
|
|
|
|
import (
|
|
|
|
"database/sql"
|
|
|
|
)
|
|
|
|
|
|
|
|
type SceneMarker struct {
|
|
|
|
ID int `db:"id" json:"id"`
|
|
|
|
Title string `db:"title" json:"title"`
|
|
|
|
Seconds float64 `db:"seconds" json:"seconds"`
|
2019-04-20 17:32:01 +00:00
|
|
|
PrimaryTagID int `db:"primary_tag_id" json:"primary_tag_id"`
|
2019-02-09 12:30:49 +00:00
|
|
|
SceneID sql.NullInt64 `db:"scene_id,omitempty" json:"scene_id"`
|
|
|
|
CreatedAt SQLiteTimestamp `db:"created_at" json:"created_at"`
|
|
|
|
UpdatedAt SQLiteTimestamp `db:"updated_at" json:"updated_at"`
|
|
|
|
}
|