diff options
| author | Patrick Barron <barronpm@gmail.com> | 2021-09-02 20:18:46 -0400 |
|---|---|---|
| committer | Patrick Barron <barronpm@gmail.com> | 2021-09-02 20:18:46 -0400 |
| commit | 098bd5cfa9dd16bde95c597f1245a69f0d2a74ac (patch) | |
| tree | fc8925728ef0206e4a849430e3c02eb8e677add4 /Jellyfin.Data | |
| parent | cb52ccc6990169d80e0653c7f1bf76b6dc6fd2d6 (diff) | |
Remove IAuditableEntity
Diffstat (limited to 'Jellyfin.Data')
| -rw-r--r-- | Jellyfin.Data/Entities/Security/Device.cs | 11 | ||||
| -rw-r--r-- | Jellyfin.Data/Interfaces/IAuditableEntity.cs | 20 |
2 files changed, 7 insertions, 24 deletions
diff --git a/Jellyfin.Data/Entities/Security/Device.cs b/Jellyfin.Data/Entities/Security/Device.cs index 9490323b1..67d7f78ed 100644 --- a/Jellyfin.Data/Entities/Security/Device.cs +++ b/Jellyfin.Data/Entities/Security/Device.cs @@ -2,14 +2,13 @@ using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Globalization; -using Jellyfin.Data.Interfaces; namespace Jellyfin.Data.Entities.Security { /// <summary> /// An entity representing a device. /// </summary> - public class Device : IAuditableEntity + public class Device { /// <summary> /// Initializes a new instance of the <see cref="Device"/> class. @@ -85,10 +84,14 @@ namespace Jellyfin.Data.Entities.Security /// </summary> public bool IsActive { get; set; } - /// <inheritdoc /> + /// <summary> + /// Gets or sets the date created. + /// </summary> public DateTime DateCreated { get; set; } - /// <inheritdoc /> + /// <summary> + /// Gets or sets the date modified. + /// </summary> public DateTime DateModified { get; set; } /// <summary> diff --git a/Jellyfin.Data/Interfaces/IAuditableEntity.cs b/Jellyfin.Data/Interfaces/IAuditableEntity.cs deleted file mode 100644 index 4420446ae..000000000 --- a/Jellyfin.Data/Interfaces/IAuditableEntity.cs +++ /dev/null @@ -1,20 +0,0 @@ -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; } - } -} |
