using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;

namespace SkyArtShop.Models;

public class Page
{
	[BsonId]
	[BsonRepresentation(BsonType.ObjectId)]
	[Key]
	[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
	public string? Id { get; set; }

	[Required]
	public string PageName { get; set; } = string.Empty;

	public string PageSlug { get; set; } = string.Empty;

	public string Title { get; set; } = string.Empty;

	public string Subtitle { get; set; } = string.Empty;

	public string HeroImage { get; set; } = string.Empty;

	public string Content { get; set; } = string.Empty;

	public string MetaDescription { get; set; } = string.Empty;

	public List<string> ImageGallery { get; set; } = new List<string>();

	public string AboutImage1 { get; set; } = string.Empty;

	public string AboutImage2 { get; set; } = string.Empty;

	public List<TeamMember> TeamMembers { get; set; } = new List<TeamMember>();

	public bool IsActive { get; set; } = true;

	public DateTime CreatedAt { get; set; } = DateTime.UtcNow;

	public DateTime UpdatedAt { get; set; } = DateTime.UtcNow;
}
