Getting ready to seed more data
This commit is contained in:
@@ -1,39 +1,53 @@
|
||||
using MessagePack;
|
||||
using SVSim.Database.Models;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace SVSim.EmulatedEntrypoint.Models.Dtos;
|
||||
|
||||
[MessagePackObject]
|
||||
public class UserInfo
|
||||
{
|
||||
[JsonPropertyName("device_type")]
|
||||
[Key("device_type")]
|
||||
public int DeviceType { get; set; }
|
||||
[JsonPropertyName("name")]
|
||||
[Key("name")]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
[JsonPropertyName("country_code")]
|
||||
[Key("country_code")]
|
||||
public string CountryCode { get; set; } = string.Empty;
|
||||
[JsonPropertyName("max_friend")]
|
||||
[Key("max_friend")]
|
||||
public int MaxFriend { get; set; }
|
||||
[JsonPropertyName("last_play_time")]
|
||||
[Key("last_play_time")]
|
||||
public DateTime LastPlayTime { get; set; }
|
||||
[JsonPropertyName("is_received_two_pick_mission")]
|
||||
[Key("is_received_two_pick_mission")]
|
||||
public int HasReceivedPickTwoMission { get; set; }
|
||||
/// <summary>
|
||||
/// Birth date as yyyy-MM-dd. Parser does .ToString() on this field (LoadDetail.cs:203).
|
||||
/// Format verified against live capture pending.
|
||||
/// </summary>
|
||||
[JsonPropertyName("birth")]
|
||||
[Key("birth")]
|
||||
public string Birthday { get; set; } = string.Empty;
|
||||
[JsonPropertyName("selected_emblem_id")]
|
||||
[Key("selected_emblem_id")]
|
||||
public long SelectedEmblemId { get; set; }
|
||||
[JsonPropertyName("selected_degree_id")]
|
||||
[Key("selected_degree_id")]
|
||||
public int SelectedDegreeId { get; set; }
|
||||
[JsonPropertyName("mission_change_time")]
|
||||
[Key("mission_change_time")]
|
||||
public DateTime MissionChangeTime { get; set; }
|
||||
[JsonPropertyName("mission_receive_type")]
|
||||
[Key("mission_receive_type")]
|
||||
public int MissionReceiveType { get; set; }
|
||||
[JsonPropertyName("is_official")]
|
||||
[Key("is_official")]
|
||||
public int IsOfficial { get; set; }
|
||||
[JsonPropertyName("is_official_mark_displayed")]
|
||||
[Key("is_official_mark_displayed")]
|
||||
public int IsOfficialMarkDisplayed { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user