Lot's of refactoring

This commit is contained in:
Jamie.Rees 2017-07-06 16:24:51 +01:00
commit 263240c648
36 changed files with 732 additions and 660 deletions

View file

@ -6,7 +6,7 @@ namespace Ombi.Store.Entities.Requests
{
public class BaseRequest : Entity
{
public string Title { get; set; }
public bool Approved { get; set; }
public DateTime RequestedDate { get; set; }
public bool Available { get; set; }

View file

@ -8,7 +8,6 @@ namespace Ombi.Store.Entities.Requests
{
public string ImdbId { get; set; }
public string Overview { get; set; }
public string Title { get; set; }
public string PosterPath { get; set; }
public DateTime ReleaseDate { get; set; }
public string Status { get; set; }

View file

@ -146,7 +146,8 @@ namespace Ombi.Store.Migrations
ParentRequestId = table.Column<int>(nullable: false),
RequestType = table.Column<int>(nullable: false),
RequestedDate = table.Column<DateTime>(nullable: false),
RequestedUserId = table.Column<int>(nullable: false)
RequestedUserId = table.Column<int>(nullable: false),
Title = table.Column<string>(nullable: true)
},
constraints: table =>
{