using System.ComponentModel.DataAnnotations;

namespace Esim.Apis.DTO.Content
{
    /// <summary>
    /// Request DTO for device eSIM compatibility check
    /// </summary>
    public class DeviceCompatibilityReq
    {
        /// <summary>
        /// Brand filter (Apple, Samsung, Google, etc.)
        /// null = all brands
        /// </summary>
        public string? brand { get; set; }

        /// <summary>
        /// Device category filter (Phone, Tablet, Laptop, Watch)
        /// null = all categories
        /// </summary>
        public string? category { get; set; }

        /// <summary>
        /// Search keyword for model name
        /// Searches in MODEL_NAME, MODEL_NAME_EN, MODEL_NAME_LO
        /// </summary>
        public string? searchKeyword { get; set; }

        /// <summary>
        /// Filter popular devices only (for quick lookup tabs)
        /// true = only popular devices
        /// false/null = all devices
        /// </summary>
        public bool? isPopular { get; set; }

        /// <summary>
        /// Language for response (lo, en, vi)
        /// Default: "lo"
        /// </summary>
        public string? lang { get; set; }

        /// <summary>
        /// Page number (0-indexed)
        /// </summary>
        public int pageNumber { get; set; } = 0;

        /// <summary>
        /// Page size
        /// Default: 50 (higher than other APIs for device list)
        /// </summary>
        public int pageSize { get; set; } = 50;
    }
}
