namespace CMSDAL.DTO.Site; public class SiteDomainDTO { public int SiteDomainId { get; set; } public int SiteId { get; set; } public string DomainName { get; set; } = string.Empty; public bool IsPrimary { get; set; } public bool IsVerified { 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; } } // Result of SiteResolverBLL resolving an incoming Host header to a Site — the only trusted // source of tenant context for an anonymous public request. Never accept a client-supplied // TenantId/SiteId in its place. public class SiteResolutionDTO { public int SiteId { get; set; } public int TenantId { get; set; } public string SiteCode { get; set; } = string.Empty; public byte SiteStatus { get; set; } }