2019-02-09 12:30:49 +00:00
|
|
|
package models
|
|
|
|
|
2020-04-22 01:22:14 +00:00
|
|
|
import "database/sql"
|
|
|
|
|
2019-02-09 12:30:49 +00:00
|
|
|
type PerformersScenes struct {
|
|
|
|
PerformerID int `db:"performer_id" json:"performer_id"`
|
|
|
|
SceneID int `db:"scene_id" json:"scene_id"`
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2019-02-09 12:30:49 +00:00
|
|
|
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"`
|
|
|
|
}
|
2020-10-12 23:12:46 +00:00
|
|
|
|
|
|
|
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"`
|
|
|
|
}
|