2012-08-12 23:57:54 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
2012-09-11 01:34:02 +00:00
|
|
|
|
namespace MediaBrowser.Controller.Entities
|
2012-08-12 23:57:54 +00:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Provides a base entity for all of our types
|
|
|
|
|
/// </summary>
|
|
|
|
|
public abstract class BaseEntity
|
|
|
|
|
{
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
public Guid Id { get; set; }
|
|
|
|
|
|
|
|
|
|
public string PrimaryImagePath { get; set; }
|
2012-08-13 11:39:42 +00:00
|
|
|
|
|
|
|
|
|
public DateTime DateCreated { get; set; }
|
|
|
|
|
|
|
|
|
|
public DateTime DateModified { get; set; }
|
|
|
|
|
|
|
|
|
|
public override string ToString()
|
|
|
|
|
{
|
|
|
|
|
return Name;
|
|
|
|
|
}
|
2012-08-12 23:57:54 +00:00
|
|
|
|
}
|
|
|
|
|
}
|