using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Common.Http { /// /// Request to get article detail by ID or slug /// public class ArticleDetailReq { /// /// Language code for response: "lo" (Lao), "en" (English) /// Default: "lo" /// public string? lang { get; set; } = "lo"; /// /// Article ID (primary way to get detail) /// public int? id { get; set; } /// /// Article slug (alternative to ID for SEO-friendly URLs) /// public string? slug { get; set; } } }