|
@@ -0,0 +1,52 @@
|
|
|
|
|
+using System;
|
|
|
|
|
+
|
|
|
|
|
+namespace Common.Http
|
|
|
|
|
+{
|
|
|
|
|
+ // =============== BANNER ===============
|
|
|
|
|
+ public class BannerLoadReq
|
|
|
|
|
+ {
|
|
|
|
|
+ public string? lang { get; set; } = "lo";
|
|
|
|
|
+ public int pageNumber { get; set; } = 0;
|
|
|
|
|
+ public int pageSize { get; set; } = 10;
|
|
|
|
|
+ /// <summary>Position filter: "home", "sidebar", etc.</summary>
|
|
|
|
|
+ public string? position { get; set; }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ // =============== CUSTOMER REVIEW ===============
|
|
|
|
|
+ public class CustomerReviewLoadReq
|
|
|
|
|
+ {
|
|
|
|
|
+ public string? lang { get; set; } = "lo";
|
|
|
|
|
+ public int pageNumber { get; set; } = 0;
|
|
|
|
|
+ public int pageSize { get; set; } = 10;
|
|
|
|
|
+ /// <summary>Filter featured reviews only</summary>
|
|
|
|
|
+ public bool? isFeatured { get; set; }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public class CustomerReviewCreateReq
|
|
|
|
|
+ {
|
|
|
|
|
+ public string? lang { get; set; } = "lo";
|
|
|
|
|
+ public string customerName { get; set; } = null!;
|
|
|
|
|
+ public string reviewContent { get; set; } = null!;
|
|
|
|
|
+ public string? destination { get; set; }
|
|
|
|
|
+ public int? rating { get; set; }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ // =============== FAQ ===============
|
|
|
|
|
+ public class FaqCategoryLoadReq
|
|
|
|
|
+ {
|
|
|
|
|
+ public string? lang { get; set; } = "lo";
|
|
|
|
|
+ public int pageNumber { get; set; } = 0;
|
|
|
|
|
+ public int pageSize { get; set; } = 10;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public class FaqLoadReq
|
|
|
|
|
+ {
|
|
|
|
|
+ public string? lang { get; set; } = "lo";
|
|
|
|
|
+ public int pageNumber { get; set; } = 0;
|
|
|
|
|
+ public int pageSize { get; set; } = 10;
|
|
|
|
|
+ /// <summary>Filter by category ID</summary>
|
|
|
|
|
+ public int? categoryId { get; set; }
|
|
|
|
|
+ /// <summary>Filter featured FAQs only</summary>
|
|
|
|
|
+ public bool? isFeatured { get; set; }
|
|
|
|
|
+ }
|
|
|
|
|
+}
|