using System; using System.Collections.Generic; using MongoDB.Bson; using MongoDB.Bson.Serialization.Attributes; namespace SkyArtShop.Models; public class HomepageSection { [BsonId] [BsonRepresentation(BsonType.ObjectId)] public string? Id { get; set; } public string SectionType { get; set; } = string.Empty; public string Title { get; set; } = string.Empty; public string Subtitle { get; set; } = string.Empty; public string Content { get; set; } = string.Empty; public string ImageUrl { get; set; } = string.Empty; public string ButtonText { get; set; } = string.Empty; public string ButtonUrl { get; set; } = string.Empty; public int DisplayOrder { get; set; } public bool IsActive { get; set; } = true; public DateTime CreatedAt { get; set; } = DateTime.UtcNow; public DateTime UpdatedAt { get; set; } = DateTime.UtcNow; public Dictionary AdditionalData { get; set; } = new Dictionary(); }