using System; namespace Oqtane.Models { /// /// Information about a instance on a /// public class PageModule : ModelBase, 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; } /// /// Start of when this assignment is valid. See also /// public DateTime? EffectiveDate { get; set; } /// /// End of when this assignment is valid. See also /// public DateTime? ExpiryDate { get; set; } #region IDeletable Properties public string DeletedBy { get; set; } public DateTime? DeletedOn { get; set; } public bool IsDeleted { get; set; } #endregion /// /// The itself. /// public Module Module { get; set; } /// /// The itself. /// public Page Page { get; set; } } }