Moved some additional fields down to BaseEntity.

This commit is contained in:
LukePulverenti Luke Pulverenti luke pulverenti 2012-08-13 07:39:42 -04:00
parent 3e33822d1a
commit 02689bece4
2 changed files with 9 additions and 12 deletions

View File

@ -1,7 +1,4 @@
using System; using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MediaBrowser.Model.Entities namespace MediaBrowser.Model.Entities
{ {
@ -15,5 +12,14 @@ namespace MediaBrowser.Model.Entities
public Guid Id { get; set; } public Guid Id { get; set; }
public string PrimaryImagePath { get; set; } public string PrimaryImagePath { get; set; }
public DateTime DateCreated { get; set; }
public DateTime DateModified { get; set; }
public override string ToString()
{
return Name;
}
} }
} }

View File

@ -8,10 +8,6 @@ namespace MediaBrowser.Model.Entities
{ {
public string SortName { get; set; } public string SortName { get; set; }
public DateTime DateCreated { get; set; }
public DateTime DateModified { get; set; }
/// <summary> /// <summary>
/// When the item first debuted. For movies this could be premiere date, episodes would be first aired /// When the item first debuted. For movies this could be premiere date, episodes would be first aired
/// </summary> /// </summary>
@ -60,10 +56,5 @@ namespace MediaBrowser.Model.Entities
public IEnumerable<Video> LocalTrailers { get; set; } public IEnumerable<Video> LocalTrailers { get; set; }
public string TrailerUrl { get; set; } public string TrailerUrl { get; set; }
public override string ToString()
{
return Name;
}
} }
} }