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