jellyfin-server/MediaBrowser.Model/Entities/BaseEntity.cs
LukePulverenti Luke Pulverenti luke pulverenti 02689bece4 Moved some additional fields down to BaseEntity.
2012-08-13 07:39:42 -04:00

26 lines
547 B
C#

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; }
public DateTime DateCreated { get; set; }
public DateTime DateModified { get; set; }
public override string ToString()
{
return Name;
}
}
}