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,12 +1,30 @@
using System;
using System;
namespace Oqtane.Models
{
/// <summary>
/// Basic create/edit information - used in many objects.
/// </summary>
public interface IAuditable
{
/// <summary>
/// Username of the creator of this Object.
/// </summary>
string CreatedBy { get; set; }
/// <summary>
/// Created Timestamp for this Object.
/// </summary>
DateTime CreatedOn { get; set; }
/// <summary>
/// Username of the last user who modified this Object.
/// </summary>
string ModifiedBy { get; set; }
/// <summary>
/// Modified Timestamp for this Object.
/// </summary>
DateTime ModifiedOn { get; set; }
}
}