Document most core interfaces

This commit is contained in:
ijungleboy
2021-05-21 18:28:14 +02:00
parent 4474d49c6a
commit e4b12aa87f
5 changed files with 83 additions and 15 deletions

View File

@ -1,11 +1,25 @@
using System;
using System;
namespace Oqtane.Models
{
/// <summary>
/// Audit information for things than can be deleted.
/// </summary>
public interface IDeletable
{
/// <summary>
/// <see cref="User"/> who deleted this object.
/// </summary>
string DeletedBy { get; set; }
/// <summary>
/// Timestamp when it was deleted.
/// </summary>
DateTime? DeletedOn { get; set; }
/// <summary>
/// If something is deleted, this will be true.
/// </summary>
bool IsDeleted { get; set; }
}
}