From 1a1c8e71fcd14858f595029f089b2d4a00202b32 Mon Sep 17 00:00:00 2001
From: ogi <Administrator@S-OGI-PC>
Date: Fri, 05 Dec 2025 09:24:16 +0900
Subject: [PATCH] プロジェクトファイルを追加。

---
 HotelPms.Client.Blazor/Pages/Parameter/UseInputArgs.cs |   44 ++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 44 insertions(+), 0 deletions(-)

diff --git a/HotelPms.Client.Blazor/Pages/Parameter/UseInputArgs.cs b/HotelPms.Client.Blazor/Pages/Parameter/UseInputArgs.cs
new file mode 100644
index 0000000..46ceaa0
--- /dev/null
+++ b/HotelPms.Client.Blazor/Pages/Parameter/UseInputArgs.cs
@@ -0,0 +1,44 @@
+using HotelPms.Share.Util;
+using System.Text.Json.Serialization;
+
+namespace HotelPms.Client.Blazor.Pages.Parameter
+{
+    /// <summary>
+    /// Input.razorのパラメータ
+    /// </summary>
+    public class UseInputArgs
+    {
+        /// <summary>
+        /// 画面の識別ID
+        /// </summary>
+        public string Guid { get; set; } = string.Empty;
+
+        /// <summary>
+        /// 利用ID
+        /// </summary>
+        public int ID { get; set; } = 0;
+
+        /// <summary>
+        /// チェックイン日
+        /// </summary>
+        public string CinDate { get; set; } = string.Empty;
+
+        [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
+        public List<int>? RoomIDList { get; set; }
+
+        public string ToJson()
+        {
+            return CConvert.ToJsonText(this);
+        }
+
+        /// <summary>
+        /// Jsonから
+        /// </summary>
+        /// <param name="data"></param>
+        /// <returns></returns>
+        public static UseInputArgs FromJson(string data)
+        {
+            return CConvert.ToInstanceFromJson<UseInputArgs>(data);
+        }
+    }
+}

--
Gitblit v1.10.0