more !wip

This commit is contained in:
TidusJar 2019-01-30 19:35:04 +00:00
parent 0ce93071f1
commit cdec1f4f27
12 changed files with 573 additions and 8 deletions

View file

@ -0,0 +1,95 @@
using System;
using System.Collections.Generic;
using Ombi.Api.TheMovieDb.Models;
using Ombi.Store.Entities;
namespace Ombi.Core.Models.Search.V2
{
public class MovieFullInfoViewModel : SearchViewModel
{
public bool Adult { get; set; }
public string BackdropPath { get; set; }
public string OriginalLanguage { get; set; }
public int Budget { get; set; }
public GenreViewModel[] Genres { get; set; }
public string OriginalTitle { get; set; }
public string Overview { get; set; }
public List<ProductionCompaniesViewModel> ProductionCompanies { get; set; }
public double Popularity { get; set; }
public int Revenue { get; set; }
public long Runtime { get; set; }
public string PosterPath { get; set; }
public DateTime? ReleaseDate { get; set; }
public string Title { get; set; }
public bool Video { get; set; }
public string Tagline { get; set; }
public double VoteAverage { get; set; }
public int VoteCount { get; set; }
public bool AlreadyInCp { get; set; }
public string Trailer { get; set; }
public string Homepage { get; set; }
public int RootPathOverride { get; set; }
public string Status { get; set; }
public List<VideoResults> Videos { get; set; }
public CreditsViewModel Credits { get; set; }
public int QualityOverride { get; set; }
public override RequestType Type => RequestType.Movie;
public ReleaseDatesDto ReleaseDates { get; set; }
public DateTime? DigitalReleaseDate { get; set; }
public Similar Similar { get; set; }
public Recommendations Recommendations { get; set; }
}
public class GenreViewModel
{
public int id { get; set; }
public string name { get; set; }
}
public class ProductionCompaniesViewModel
{
public int id { get; set; }
public string logo_path { get; set; }
public string name { get; set; }
public string origin_country { get; set; }
}
public class VideoResults
{
public string id { get; set; }
public string iso_639_1 { get; set; }
public string iso_3166_1 { get; set; }
public string key { get; set; }
public string name { get; set; }
public string site { get; set; }
public int size { get; set; }
public string type { get; set; }
}
public class CreditsViewModel
{
public FullMovieCastViewModel[] cast { get; set; }
public FullMovieCrewViewModel[] crew { get; set; }
}
public class FullMovieCastViewModel
{
public int cast_id { get; set; }
public string character { get; set; }
public string credit_id { get; set; }
public int gender { get; set; }
public int id { get; set; }
public string name { get; set; }
public int order { get; set; }
public string profile_path { get; set; }
}
public class FullMovieCrewViewModel
{
public string credit_id { get; set; }
public string department { get; set; }
public int gender { get; set; }
public int id { get; set; }
public string job { get; set; }
public string name { get; set; }
public string profile_path { get; set; }
}
}