mirror of https://github.com/stashapp/stash.git
50 lines
1.3 KiB
Go
50 lines
1.3 KiB
Go
package models
|
|
|
|
import "database/sql"
|
|
|
|
type PerformersScenes struct {
|
|
PerformerID int `db:"performer_id" json:"performer_id"`
|
|
SceneID int `db:"scene_id" json:"scene_id"`
|
|
}
|
|
|
|
type MoviesScenes struct {
|
|
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"`
|
|
}
|
|
|
|
type ScenesTags struct {
|
|
SceneID int `db:"scene_id" json:"scene_id"`
|
|
TagID int `db:"tag_id" json:"tag_id"`
|
|
}
|
|
|
|
type SceneMarkersTags struct {
|
|
SceneMarkerID int `db:"scene_marker_id" json:"scene_marker_id"`
|
|
TagID int `db:"tag_id" json:"tag_id"`
|
|
}
|
|
|
|
type PerformersImages struct {
|
|
PerformerID int `db:"performer_id" json:"performer_id"`
|
|
ImageID int `db:"image_id" json:"image_id"`
|
|
}
|
|
|
|
type ImagesTags struct {
|
|
ImageID int `db:"image_id" json:"image_id"`
|
|
TagID int `db:"tag_id" json:"tag_id"`
|
|
}
|
|
|
|
type GalleriesImages struct {
|
|
GalleryID int `db:"gallery_id" json:"gallery_id"`
|
|
ImageID int `db:"image_id" json:"image_id"`
|
|
}
|
|
|
|
type PerformersGalleries struct {
|
|
PerformerID int `db:"performer_id" json:"performer_id"`
|
|
GalleryID int `db:"gallery_id" json:"gallery_id"`
|
|
}
|
|
|
|
type GalleriesTags struct {
|
|
TagID int `db:"tag_id" json:"tag_id"`
|
|
GalleryID int `db:"gallery_id" json:"gallery_id"`
|
|
}
|