load module settings automatically so that they are part of the ModuleState and can be easily accessed by developers
This commit is contained in:
@ -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; }
|
||||
|
Reference in New Issue
Block a user