update models to use new ModelBase
This commit is contained in:
@ -8,7 +8,7 @@ namespace Oqtane.Models
|
||||
/// Describes a Module type (Definition) in Oqtane.
|
||||
/// The available Modules are determined at StartUp.
|
||||
/// </summary>
|
||||
public class ModuleDefinition : IAuditable
|
||||
public class ModuleDefinition : ModelBase
|
||||
{
|
||||
[PrivateApi("The constructor is probably just for internal use and shouldn't appear in the docs")]
|
||||
public ModuleDefinition()
|
||||
@ -63,19 +63,6 @@ namespace Oqtane.Models
|
||||
/// </summary>
|
||||
public string Version { 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
|
||||
|
||||
// additional IModule properties
|
||||
[NotMapped]
|
||||
public string Owner { get; set; }
|
||||
|
Reference in New Issue
Block a user