oqtane.framework/Oqtane.Shared/Models/Page.cs
2019-09-14 15:31:12 -04:00

35 lines
1.0 KiB
C#

using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace Oqtane.Models
{
public class Page : IAuditable
{
public int PageId { get; set; }
public int SiteId { get; set; }
public int? ParentId { get; set; }
public string Name { get; set; }
public string Path { get; set; }
public int Order { get; set; }
public string ThemeType { get; set; }
public string LayoutType { get; set; }
public string Icon { get; set; }
public string Panes { get; set; }
public bool IsNavigation { get; set; }
public bool EditMode { get; set; }
public string CreatedBy { get; set; }
public DateTime CreatedOn { get; set; }
public string ModifiedBy { get; set; }
public DateTime ModifiedOn { get; set; }
[NotMapped]
public string Permissions { get; set; }
[NotMapped]
public int Level { get; set; }
[NotMapped]
public bool HasChildren { get; set; }
}
}