rolled back change creating an Infrastructure.Interfaces namespace, modified IModule interface to be strongly typed (#343)

* upgrade to .NET Core 3.2 Preview 3 and fixes for issues created by #314

* Components based on Bootstrap4 for Sections and  TabStrip to increase productivity and promote uniformity in Module UIs

* rolled back change creating an Infrastructure.Interfaces namespace, modified IModule interface to be strongly typed
This commit is contained in:
Shaun Walker
2020-04-05 14:39:08 -04:00
committed by GitHub
parent 05de65d3a0
commit 02fde9cec3
43 changed files with 91 additions and 141 deletions

View File

@ -5,6 +5,22 @@ namespace Oqtane.Models
{
public class ModuleDefinition : IAuditable
{
public ModuleDefinition()
{
Name = "";
Description = "";
Categories = "";
Version = "";
Owner = "";
Url = "";
Contact = "";
License = "";
Dependencies = "";
PermissionNames = "";
ServerAssemblyName = "";
ControlTypeRoutes = "";
}
public int ModuleDefinitionId { get; set; }
public string ModuleDefinitionName { get; set; }
@ -13,6 +29,8 @@ namespace Oqtane.Models
public string ModifiedBy { get; set; }
public DateTime ModifiedOn { get; set; }
[NotMapped]
public int SiteId { get; set; }
[NotMapped]
public string Name { get; set; }
[NotMapped]
@ -42,8 +60,6 @@ namespace Oqtane.Models
[NotMapped]
public string AssemblyName { get; set; }
[NotMapped]
public int SiteId { get; set; }
[NotMapped]
public string Permissions { get; set; }
}
}