update models to use new ModelBase

This commit is contained in:
Shaun Walker
2022-10-26 17:26:46 -04:00
parent 1daa9575db
commit 4499d55464
17 changed files with 18 additions and 247 deletions

View File

@ -7,7 +7,7 @@ namespace Oqtane.Models
/// <summary>
/// Describes a File in Oqtane
/// </summary>
public class File : IAuditable
public class File : ModelBase
{
/// <summary>
/// ID to identify the file
@ -55,22 +55,6 @@ namespace Oqtane.Models
/// </summary>
public string Description { get; set; }
#region IAuditable Properties
/// <inheritdoc />
public string CreatedBy { get; set; }
/// <inheritdoc />
public DateTime CreatedOn { get; set; }
/// <inheritdoc />
public string ModifiedBy { get; set; }
/// <inheritdoc />
public DateTime ModifiedOn { get; set; }
#endregion
#region Extended IAuditable Properties, may be moved to an Interface some day so not documented yet
public string DeletedBy { get; set; }