Refactor host user security model, support static assets in modules and themes, module definition permissions and categories, paging control, remove SiteUsers, move seed data from script to site template for installation

This commit is contained in:
Shaun Walker
2019-09-19 16:33:48 -04:00
parent 35b9b9e89b
commit 83a212e7e3
61 changed files with 1000 additions and 979 deletions

View File

@ -1,19 +1,47 @@
namespace Oqtane.Models
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace Oqtane.Models
{
public class ModuleDefinition
public class ModuleDefinition : IAuditable
{
public int ModuleDefinitionId { get; set; }
public string ModuleDefinitionName { get; set; }
public string CreatedBy { get; set; }
public DateTime CreatedOn { get; set; }
public string ModifiedBy { get; set; }
public DateTime ModifiedOn { get; set; }
[NotMapped]
public string Name { get; set; }
[NotMapped]
public string Description { get; set; }
[NotMapped]
public string Categories { get; set; }
[NotMapped]
public string Version { get; set; }
[NotMapped]
public string Owner { get; set; }
[NotMapped]
public string Url { get; set; }
[NotMapped]
public string Contact { get; set; }
[NotMapped]
public string License { get; set; }
[NotMapped]
public string Dependencies { get; set; }
public string Permissions { get; set; }
[NotMapped]
public string PermissionNames { get; set; }
[NotMapped]
public string ControlTypeTemplate { get; set; }
[NotMapped]
public string ControlTypeRoutes { get; set; }
[NotMapped]
public string AssemblyName { get; set; }
[NotMapped]
public int SiteId { get; set; }
[NotMapped]
public string Permissions { get; set; }
}
}