초기커밋
This commit is contained in:
124
UGQApiServer/Models/QuestEditorModels.cs
Normal file
124
UGQApiServer/Models/QuestEditorModels.cs
Normal file
@@ -0,0 +1,124 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using UGQDataAccess;
|
||||
using UGQDatabase.Models;
|
||||
|
||||
namespace UGQApiServer.Models;
|
||||
|
||||
#pragma warning disable CS8618
|
||||
|
||||
public class OldDevLoginRequest
|
||||
{
|
||||
public string UserGuid { get; set; }
|
||||
}
|
||||
|
||||
public class DevLoginRequest
|
||||
{
|
||||
public string LoginAccountId { get; set; }
|
||||
}
|
||||
|
||||
public class LoginRequest
|
||||
{
|
||||
public string WebPortalToken { get; set; }
|
||||
}
|
||||
|
||||
public class IgmLoginResponse
|
||||
{
|
||||
public string UserGuid { get; set; }
|
||||
public string Nickname { get; set; }
|
||||
public string AccessToken { get; set; }
|
||||
}
|
||||
|
||||
public class LoginResponse
|
||||
{
|
||||
public string UserGuid { get; set; }
|
||||
public string Nickname { get; set; }
|
||||
public string AccessToken { get; set; }
|
||||
public string RefreshToken { get; set; }
|
||||
}
|
||||
|
||||
public class RefreshTokenRequest
|
||||
{
|
||||
public string AccessToken { get; set; }
|
||||
public string RefreshToken { get; set; }
|
||||
}
|
||||
|
||||
public class RefreshTokenResponse
|
||||
{
|
||||
public string AccessToken { get; set; }
|
||||
public string RefreshToken { get; set; }
|
||||
}
|
||||
|
||||
public class UGQAccount
|
||||
{
|
||||
public string UserGuid { get; set; }
|
||||
public string Nickname { get; set; }
|
||||
public string AccountId { get; set; }
|
||||
public int SlotCount { get; set; }
|
||||
|
||||
[JsonConverter(typeof(JsonStringEnumConverter))]
|
||||
public UgqGradeType GradeType { get; set; }
|
||||
public double CreatorPoint { get; set; }
|
||||
|
||||
public DateTime CreatedAt { get; set; }
|
||||
}
|
||||
|
||||
public class UGQAccountDetail : UGQAccount
|
||||
{
|
||||
public int TotalQuests { get; set; }
|
||||
}
|
||||
|
||||
public class UGQAccountCurrency
|
||||
{
|
||||
[JsonConverter(typeof(JsonStringEnumConverter))]
|
||||
public CurrencyType CurrencyType { get; set; }
|
||||
public double Amount { get; set; }
|
||||
}
|
||||
|
||||
public class UGQSlotPrice
|
||||
{
|
||||
[JsonConverter(typeof(JsonStringEnumConverter))]
|
||||
public CurrencyType CurrencyType { get; set; }
|
||||
public double Price { get; set; }
|
||||
}
|
||||
|
||||
public class UGQAccountItem : UGQAccount
|
||||
{
|
||||
public int QuestCount { get; set; }
|
||||
}
|
||||
|
||||
public class UGQAccountMoney : UGQAccount
|
||||
{
|
||||
public double Sapphire { get; set; }
|
||||
}
|
||||
|
||||
public class UGQSummaryList
|
||||
{
|
||||
public List<UGQSummary> UGQSummaries { get; set; }
|
||||
}
|
||||
|
||||
public class UGQAddQuestDialogResponse
|
||||
{
|
||||
public UGQContent QuestContent { get; set; }
|
||||
public UGQDialog QuestDialog { get; set; }
|
||||
}
|
||||
|
||||
public class TagIdResponse
|
||||
{
|
||||
public int TagId { get; set; }
|
||||
public string TagName { get; set; }
|
||||
}
|
||||
|
||||
public class UserBeacon
|
||||
{
|
||||
public string BeaconId { get; set; }
|
||||
public string BeaconName { get; set; }
|
||||
}
|
||||
|
||||
public class UserBeaconsResponse
|
||||
{
|
||||
public int PageNumber { get; set; }
|
||||
public int PageSize { get; set; }
|
||||
public bool HasNextPage { get; set; }
|
||||
public List<UserBeacon> UserBeacons { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user