oqtane.framework/Oqtane.Shared/Models/Module.cs
2019-09-05 13:44:27 -04:00

55 lines
1.6 KiB
C#

using Oqtane.Modules;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace Oqtane.Models
{
public class Module : IAuditable
{
public int ModuleId { get; set; }
public int SiteId { 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 Permissions { get; set; }
// PageModule properties
[NotMapped]
public int PageModuleId { get; set; }
[NotMapped]
public int PageId { get; set; }
[NotMapped]
public string Title { get; set; }
[NotMapped]
public string Pane { get; set; }
[NotMapped]
public int Order { get; set; }
[NotMapped]
public string ContainerType { get; set; }
// SiteRouter properties
[NotMapped]
public string ModuleType { get; set; }
[NotMapped]
public int PaneModuleIndex { get; set; }
[NotMapped]
public int PaneModuleCount { get; set; }
// IModuleControl properties
[NotMapped]
public SecurityAccessLevel SecurityAccessLevel { get; set; }
[NotMapped]
public string ControlTitle { get; set; }
[NotMapped]
public string Actions { get; set; }
[NotMapped]
public string AdminContainerType { get; set; }
}
}