using System;

namespace Cinema.Models
{
    public class Film
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }

        public string Producer { get; set; }

        public string Poster { get; set; }
        public int PublishYear { get; set; }
        public DateTime CreatedAt { get; set; }
        public DateTime UpdatedAt { get; set; } = DateTime.Now;

        public string UserId { get; set; }
        public virtual User User { get; set; }
        
    }
}