using System;
namespace Oqtane.Models
{
///
/// Information about a instance on a
///
public class PageModule : IAuditable, IDeletable
{
///
/// Internal ID to identify this instance.
///
public int PageModuleId { get; set; }
///
/// Reference to the .
///
public int PageId { get; set; }
///
/// Reference to the .
///
public int ModuleId { get; set; }
///
/// Module title. Will be shown in the Container if the container shows titles.
///
public string Title { get; set; }
///
/// The Pane which this module instance appears.
///
public string Pane { get; set; }
///
/// The sorting order / position in the Pane where this module appears.
///
public int Order { get; set; }
///
/// Reference to a Razor Container which wraps this module instance.
///
public string ContainerType { get; set; }
#region IAuditable Properties
///
public string CreatedBy { get; set; }
///
public DateTime CreatedOn { get; set; }
///
public string ModifiedBy { get; set; }
///
public DateTime ModifiedOn { get; set; }
#endregion
#region Extended IAuditable Properties, may be moved to an Interface some day so not documented yet
public string DeletedBy { get; set; }
public DateTime? DeletedOn { get; set; }
public bool IsDeleted { get; set; }
#endregion
///
/// The itself.
/// TODO: todoc - unclear if this is always populated
///
public Module Module { get; set; }
}
}