2019-02-09 12:30:49 +00:00
|
|
|
package models
|
|
|
|
|
2020-04-22 01:22:14 +00:00
|
|
|
import "database/sql"
|
|
|
|
|
2020-03-10 03:28:15 +00:00
|
|
|
type MoviesScenes struct {
|
2020-04-22 01:22:14 +00:00
|
|
|
MovieID int `db:"movie_id" json:"movie_id"`
|
|
|
|
SceneID int `db:"scene_id" json:"scene_id"`
|
|
|
|
SceneIndex sql.NullInt64 `db:"scene_index" json:"scene_index"`
|
2020-03-10 03:28:15 +00:00
|
|
|
}
|
|
|
|
|
2020-10-24 03:31:39 +00:00
|
|
|
type StashID struct {
|
|
|
|
StashID string `db:"stash_id" json:"stash_id"`
|
|
|
|
Endpoint string `db:"endpoint" json:"endpoint"`
|
|
|
|
}
|
2021-10-28 03:25:17 +00:00
|
|
|
|
|
|
|
func (s StashID) StashIDInput() StashIDInput {
|
|
|
|
return StashIDInput{
|
|
|
|
Endpoint: s.Endpoint,
|
|
|
|
StashID: s.StashID,
|
|
|
|
}
|
|
|
|
}
|