You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ombi/src/Ombi.Store/Entities/Requests/FullBaseRequest.cs

19 lines
518 B

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace Ombi.Store.Entities.Requests
{
public class FullBaseRequest : BaseRequest
{
public string ImdbId { get; set; }
public string Overview { get; set; }
public string PosterPath { get; set; }
public DateTime ReleaseDate { get; set; }
public string Status { get; set; }
[NotMapped]
public bool Released => DateTime.UtcNow > ReleaseDate;
}
}