Untitled

 avatar
unknown
plain_text
2 years ago
1.1 kB
4
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...