using System; using zero.Core.Attributes; namespace zero.Core.Entities { /// /// A page can consist of unlimited properties and be rendered as you wish /// The backoffice rendering is done by an IRenderer /// [Collection("Pages")] public class Page : ZeroEntity { /// /// Use this field (when filled out) instead of the alias for URL generation /// public string UrlAlias { get; set; } /// public string ParentId { get; set; } /// /// Alias of the used page type /// public string PageTypeAlias { get; set; } /// /// Date when the page is published /// public DateTimeOffset? PublishDate { get; set; } /// /// Date when the page is unpublished /// public DateTimeOffset? UnpublishDate { get; set; } } }