namespace CMSDAL.DTO.PageTemplate; // One page within a SiteTemplate's catalog. ContainerTreeJson is a ContentContainerFullDTO[]- // shaped JSON blob (CMSDAL.DTO.ContentBlock.ContentContainerFullDTO) — the exact same shape // GetSiteDocument/GetFullDocumentAsync already return, so no new composition engine is needed to // materialize it (see SiteBLL.CreateFromTemplate). public class PageTemplateDTO { public int PageTemplateId { get; set; } public int SiteTemplateId { get; set; } public string PageTemplateCode { get; set; } = string.Empty; public string PageTemplateName { get; set; } = string.Empty; public string UrlPathPattern { get; set; } = string.Empty; public bool IsHomePage { get; set; } public string ContainerTreeJson { get; set; } = "[]"; public short SortOrder { get; set; } public byte Status { get; set; } public int TenantId { get; set; } public int CreatedById { get; set; } public System.DateTime CreatedOn { get; set; } public int ModifiedById { get; set; } public System.DateTime ModifiedOn { get; set; } }