Untitled

Anonymous
plain_text
02/06/2023 3:15 PM
1.4 KB
20
Indexable
namespace FlFi.Common.DTOs
{
    public class FilmDTO
    { 
        public int Id { get; set; }
   
        public string? Title { get; set; }

        public DateTime Released { get; set; }
        public int DirectorId { get; set; }
      
        public bool Free { get; set; }
      
        public string? Description { get; set; }
       
        public string? FilmUrl { get; set; }


        public List<FilmGenreDTO>? FilmGenres { get; set; }
        public string? Director { get; set; }
    }

    public class FilmCreateDTO
    {
        public int Id { get; set; }

        public string? Title { get; set; }

        public DateTime Released { get; set; }
        public int DirectorId { get; set; }

        public bool Free { get; set; }

        public string? Description { get; set; }

        public string? FilmUrl { get; set; }


        //public List<FilmGenreDTO>? FilmGenres { get; set; }
        public string? Director { get; set; }
    }

    public class FilmEditDTO : FilmCreateDTO
    {
        public int Id { get; set; }
    }
}
Editor is loading...