Untitled
unknown
plain_text
3 years ago
1.3 kB
7
Indexable
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;
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...