IAuditableEntity.cs 524 B

1234567891011121314151617181920
  1. using System;
  2. namespace Jellyfin.Data.Interfaces
  3. {
  4. /// <summary>
  5. /// An interface representing an entity that has creation/modification dates.
  6. /// </summary>
  7. public interface IAuditableEntity
  8. {
  9. /// <summary>
  10. /// Gets the date this entity was created.
  11. /// </summary>
  12. public DateTime DateCreated { get; }
  13. /// <summary>
  14. /// Gets or sets the date this entity was modified.
  15. /// </summary>
  16. public DateTime DateModified { get; set; }
  17. }
  18. }