chore: 首次簽入 Thinkyu ASP.NET 專案

- 加入 Visual Studio / ASP.NET .gitignore
- 排除建置輸出、IDE 設定、NuGet packages、大型 MSI 安裝檔
This commit is contained in:
2026-09-10 09:42:37 +08:00
commit 577060bc78
2496 changed files with 501389 additions and 0 deletions
@@ -0,0 +1,45 @@
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace .Models
{
/// <summary>
/// API 回應基礎類別
/// </summary>
public class BaseResponse
{
[JsonProperty("Success")]
public bool Success { get; set; }
[JsonProperty("Message")]
public string Message { get; set; }
[JsonProperty("Data")]
public dynamic Data { get; set; }
[JsonProperty("TotalCount")]
public int TotalCount { get; set; }
}
/// <summary>
/// 登入回應資料
/// </summary>
public class LoginResponse
{
[JsonProperty("UserName")]
public string UserName { get; set; }
}
/// <summary>
/// 檢查 Session 回應資料
/// </summary>
public class CheckSessionResponse
{
[JsonProperty("UserName")]
public string UserName { get; set; }
[JsonProperty("LoginTime")]
public DateTime LoginTime { get; set; }
}
}