28 lines
822 B
C#
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; }
|
|
}
|
|
}
|