feat(domain): extended and actualized domain models
This commit is contained in:
@@ -6,4 +6,21 @@ data class Film(
|
||||
val id: UUID,
|
||||
val title: String,
|
||||
val description: String,
|
||||
val contentType: ContentType = ContentType.FILM,
|
||||
val releaseYear: Int? = null,
|
||||
val genres: List<String> = emptyList(),
|
||||
val cast: List<String> = emptyList(),
|
||||
val directors: List<String> = emptyList(),
|
||||
val imdbRating: Double? = null,
|
||||
val platformRating: Double? = null,
|
||||
val externalUrl: String? = null,
|
||||
val jellyfinItemId: String? = null,
|
||||
val jellyfinLibraryId: String? = null,
|
||||
)
|
||||
|
||||
enum class ContentType {
|
||||
FILM,
|
||||
SERIES,
|
||||
EPISODE,
|
||||
OTHER,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user