load module settings automatically so that they are part of the ModuleState and can be easily accessed by developers

This commit is contained in:
Shaun Walker
2020-11-04 15:40:57 -05:00
parent 700b6e2d68
commit 97cec46ec1
4 changed files with 25 additions and 6 deletions

View File

@ -1,5 +1,6 @@
using Oqtane.Shared;
using Oqtane.Shared;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace Oqtane.Models
@ -26,6 +27,9 @@ namespace Oqtane.Models
[NotMapped]
public string Permissions { get; set; }
[NotMapped]
public Dictionary<string, string> Settings { get; set; }
// PageModule properties
[NotMapped]
public int PageModuleId { get; set; }