2012-08-12 23:57:54 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Model.Entities
|
|
|
|
|
{
|
|
|
|
|
/// <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
|
|
|
|
}
|
|
|
|
|
}
|