building up the models for a movie

This commit is contained in:
2026-06-03 11:56:07 -06:00
parent 9c5698b83d
commit c0db9a5673
+26
View File
@@ -0,0 +1,26 @@
package model
import (
"go.mongodb.org/mongo-driver/v2/bson"
)
type Genre struct {
GenreID int
GenreName string
}
type Ranking struct {
RankingValue int
RankingName string
}
type Movie struct {
ID bson.ObjectID
ImdbID string
Title string
PosterPath string
YoutubeId string
Genre []Genre
AdminReview string
Ranking []Ranking
}