mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-25 03:24:47 +01:00
Add IAuditableEntity
This commit is contained in:
20
Jellyfin.Data/Interfaces/IAuditableEntity.cs
Normal file
20
Jellyfin.Data/Interfaces/IAuditableEntity.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
|
||||
namespace Jellyfin.Data.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// An interface representing an entity that has creation/modification dates.
|
||||
/// </summary>
|
||||
public interface IAuditableEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the date this entity was created.
|
||||
/// </summary>
|
||||
public DateTime DateCreated { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the date this entity was modified.
|
||||
/// </summary>
|
||||
public DateTime DateModified { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user