using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace 報到系統客戶端.Models
{
///
/// API 回應基礎類別
///
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; }
}
///
/// 登入回應資料
///
public class LoginResponse
{
[JsonProperty("UserName")]
public string UserName { get; set; }
}
///
/// 檢查 Session 回應資料
///
public class CheckSessionResponse
{
[JsonProperty("UserName")]
public string UserName { get; set; }
[JsonProperty("LoginTime")]
public DateTime LoginTime { get; set; }
}
}