using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Common.Http
{
    /// <summary>
    /// Request to get article detail by ID or slug
    /// </summary>
    public class ArticleDetailReq
    {
        /// <summary>
        /// Language code for response: "lo" (Lao), "en" (English)
        /// Default: "lo"
        /// </summary>
        public string? lang { get; set; } = "lo";

        /// <summary>
        /// Article ID (primary way to get detail)
        /// </summary>
        public int? id { get; set; }

        /// <summary>
        /// Article slug (alternative to ID for SEO-friendly URLs)
        /// </summary>
        public string? slug { get; set; }
    }
}
