BCards/src/BCards.Web/Models/IPageDisplay.cs
2025-08-17 15:45:59 -03:00

28 lines
822 B
C#

namespace BCards.Web.Models
{
/// <summary>
/// Interface comum para páginas que podem ser exibidas publicamente
/// Facilita o envio de dados para views sem duplicação de código
/// </summary>
public interface IPageDisplay
{
string Id { get; }
string UserId { get; }
string Category { get; }
string Slug { get; }
string DisplayName { get; }
string Bio { get; }
string? ProfileImageId { get; }
string BusinessType { get; }
PageTheme Theme { get; }
List<LinkItem> Links { get; }
SeoSettings SeoSettings { get; }
string Language { get; }
DateTime CreatedAt { get; }
// Propriedades calculadas comuns
string FullUrl { get; }
string ProfileImageUrl { get; }
}
}