chore: 首次簽入 Thinkyu ASP.NET 專案
- 加入 Visual Studio / ASP.NET .gitignore - 排除建置輸出、IDE 設定、NuGet packages、大型 MSI 安裝檔
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace 報到系統客戶端.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// 員工資訊項目
|
||||
/// </summary>
|
||||
public class BPSNItem
|
||||
{
|
||||
[JsonProperty("BPENO")]
|
||||
public string BPENO { get; set; }
|
||||
|
||||
[JsonProperty("BPNME")]
|
||||
public string BPNME { get; set; }
|
||||
|
||||
[JsonProperty("BPAWD")]
|
||||
public string BPAWD { get; set; }
|
||||
|
||||
[JsonProperty("Is系統管理群組")]
|
||||
public int Is系統管理群組 { get; set; }
|
||||
|
||||
[JsonProperty("Is客戶管理群組")]
|
||||
public int Is客戶管理群組 { get; set; }
|
||||
|
||||
[JsonProperty("Is現場工作群組")]
|
||||
public int Is現場工作群組 { get; set; }
|
||||
|
||||
[JsonProperty("Is查詢群組")]
|
||||
public int Is查詢群組 { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 員工資訊清單
|
||||
/// </summary>
|
||||
public class BPSNList : List<BPSNItem>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace 報到系統客戶端.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// 簽到簽退紀錄項目
|
||||
/// </summary>
|
||||
public class CheckInItem
|
||||
{
|
||||
[JsonProperty("ID")]
|
||||
public int ID { get; set; }
|
||||
|
||||
[JsonProperty("CourseID")]
|
||||
public int CourseID { get; set; }
|
||||
|
||||
[JsonProperty("Name")]
|
||||
public string Name { get; set; }
|
||||
|
||||
[JsonProperty("Mobile")]
|
||||
public string Mobile { get; set; }
|
||||
|
||||
[JsonProperty("SignUpType")]
|
||||
public string SignUpType { get; set; }
|
||||
|
||||
[JsonProperty("IDNumber")]
|
||||
public string IDNumber { get; set; }
|
||||
|
||||
[JsonProperty("IDType")]
|
||||
public string IDType { get; set; }
|
||||
|
||||
[JsonProperty("MealType")]
|
||||
public string MealType { get; set; }
|
||||
|
||||
[JsonProperty("Email")]
|
||||
public string Email { get; set; }
|
||||
|
||||
[JsonProperty("LossJobTimes")]
|
||||
public int? LossJobTimes { get; set; }
|
||||
|
||||
[JsonProperty("Gender")]
|
||||
public string Gender { get; set; }
|
||||
|
||||
[JsonProperty("AgreementStatus")]
|
||||
public string AgreementStatus { get; set; }
|
||||
|
||||
[JsonProperty("CheckInType")]
|
||||
public string CheckInType { get; set; }
|
||||
|
||||
[JsonProperty("CheckInTime")]
|
||||
public string CheckInTime { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 簽到簽退紀錄清單
|
||||
/// </summary>
|
||||
public class CheckInList : List<CheckInItem>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace 報到系統客戶端.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// 活動資訊項目
|
||||
/// </summary>
|
||||
public class ClassesItem
|
||||
{
|
||||
[JsonProperty("ID")]
|
||||
public int ID { get; set; }
|
||||
|
||||
[JsonProperty("CourseCode")]
|
||||
public string CourseCode { get; set; }
|
||||
|
||||
[JsonProperty("CourseName")]
|
||||
public string CourseName { get; set; }
|
||||
|
||||
[JsonProperty("CourseDate")]
|
||||
public DateTime CourseDate { get; set; }
|
||||
|
||||
[JsonProperty("CourseLocation")]
|
||||
public string CourseLocation { get; set; }
|
||||
|
||||
[JsonProperty("StartTime")]
|
||||
public string StartTime { get; set; }
|
||||
|
||||
[JsonProperty("EndTime")]
|
||||
public string EndTime { get; set; }
|
||||
|
||||
[JsonProperty("Status")]
|
||||
public string Status { get; set; }
|
||||
|
||||
[JsonProperty("Description")]
|
||||
public string Description { get; set; }
|
||||
|
||||
[JsonProperty("NotificationTemplate")]
|
||||
public string NotificationTemplate { get; set; }
|
||||
|
||||
[JsonProperty("AgreedTerms")]
|
||||
public string AgreedTerms { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 活動資訊清單
|
||||
/// </summary>
|
||||
public class ClassesList : List<ClassesItem>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,74 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace 報到系統客戶端.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// 報名人員項目
|
||||
/// </summary>
|
||||
|
||||
public class SignUpItem
|
||||
{
|
||||
[JsonProperty("ID")]
|
||||
public int ID { get; set; }
|
||||
|
||||
[JsonProperty("CourseID")]
|
||||
public int CourseID { get; set; }
|
||||
|
||||
[JsonProperty("SeqNo")]
|
||||
public int SeqNo { get; set; }
|
||||
|
||||
[JsonProperty("Name")]
|
||||
public string Name { get; set; }
|
||||
|
||||
[JsonProperty("Mobile")]
|
||||
public string Mobile { get; set; }
|
||||
|
||||
[JsonProperty("Email")]
|
||||
public string Email { get; set; }
|
||||
|
||||
[JsonProperty("SignUpType")]
|
||||
public string SignUpType { get; set; }
|
||||
|
||||
[JsonProperty("IDNumber")]
|
||||
public string IDNumber { get; set; }
|
||||
|
||||
[JsonProperty("IDType")]
|
||||
public string IDType { get; set; }
|
||||
|
||||
[JsonProperty("MealType")]
|
||||
public string MealType { get; set; }
|
||||
|
||||
[JsonProperty("QRCode")]
|
||||
public string QRCode { get; set; }
|
||||
|
||||
[JsonProperty("LossJobTimes")]
|
||||
public int? LossJobTimes { get; set; }
|
||||
|
||||
[JsonProperty("Gender")]
|
||||
public string Gender { get; set; }
|
||||
|
||||
[JsonProperty("AgreementStatus")]
|
||||
public string AgreementStatus { get; set; }
|
||||
|
||||
[JsonProperty("CheckInTime")]
|
||||
public string CheckInTime { get; set; }
|
||||
|
||||
[JsonProperty("CheckOutTime")]
|
||||
public string CheckOutTime { get; set; }
|
||||
|
||||
[JsonProperty("Remark")]
|
||||
public string Remark { get; set; }
|
||||
|
||||
[JsonProperty("DBAppNo")]
|
||||
public int DBAppNo { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 報名人員清單
|
||||
/// </summary>
|
||||
public class SignUpList : List<SignUpItem>
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user