mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-02 00:01:10 +00:00
26 lines
727 B
C#
26 lines
727 B
C#
#region ========================================================================= USING =====================================================================================
|
|
using System;
|
|
#endregion
|
|
|
|
namespace Lumina.Contracts.Models.Common;
|
|
|
|
/// <summary>
|
|
/// Interface for storage models, enforces Id.
|
|
/// </summary>
|
|
public interface IStorageEntity
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the identifier of the entity.
|
|
/// </summary>
|
|
Guid Id { get; init; }
|
|
|
|
/// <summary>
|
|
/// The time and date when the entity was added.
|
|
/// </summary>
|
|
DateTime Created { get; set; }
|
|
|
|
/// <summary>
|
|
/// The time and date when the entity was updated.
|
|
/// </summary>
|
|
DateTime? Updated { get; set; }
|
|
} |