Moved some additional fields down to BaseEntity.
This commit is contained in:
parent
3e33822d1a
commit
02689bece4
|
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user