mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-07 11:57:55 +02:00
25 lines
547 B
C#
25 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;
|
|
}
|
|
}
|
|
}
|