32 lines
744 B
C#
32 lines
744 B
C#
namespace zero.Core.Entities
|
|
{
|
|
/// <summary>
|
|
/// A page can consist of unlimited properties and be rendered as you wish
|
|
/// The backoffice rendering is done by an IRenderer
|
|
/// </summary>
|
|
public class Page : ZeroEntity, IPage
|
|
{
|
|
/// <inheritdoc />
|
|
public string ParentId { get; set; }
|
|
|
|
/// <inheritdoc />
|
|
public string PageTypeAlias { get; set; }
|
|
|
|
/// <inheritdoc />
|
|
public string AppId { get; set; }
|
|
}
|
|
|
|
|
|
public interface IPage : IZeroEntity, IAppAwareEntity, IZeroDbConventions
|
|
{
|
|
/// <summary>
|
|
/// Id of the parent page
|
|
/// </summary>
|
|
string ParentId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Alias of the used page type
|
|
/// </summary>
|
|
string PageTypeAlias { get; set; }
|
|
}
|
|
} |