2023-05-11 23:56:37 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Text.Json.Serialization;
|
|
|
|
|
|
|
|
|
|
namespace Ryujinx.Ui.App.Common
|
2021-01-08 08:14:13 +00:00
|
|
|
|
{
|
|
|
|
|
public class ApplicationMetadata
|
|
|
|
|
{
|
2022-12-02 13:16:43 +00:00
|
|
|
|
public string Title { get; set; }
|
2023-06-29 00:39:22 +00:00
|
|
|
|
public bool Favorite { get; set; }
|
2021-01-08 08:14:13 +00:00
|
|
|
|
public double TimePlayed { get; set; }
|
2023-05-11 23:56:37 +00:00
|
|
|
|
|
|
|
|
|
[JsonPropertyName("last_played_utc")]
|
|
|
|
|
public DateTime? LastPlayed { get; set; } = null;
|
|
|
|
|
|
|
|
|
|
[JsonPropertyName("last_played")]
|
|
|
|
|
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
|
|
|
|
|
public string LastPlayedOld { get; set; }
|
2021-01-08 08:14:13 +00:00
|
|
|
|
}
|
2023-06-29 00:39:22 +00:00
|
|
|
|
}
|