First stuff

This commit is contained in:
2022-04-18 16:08:19 +02:00
parent abb9b3f415
commit e7c2ae7b8d
17 changed files with 737 additions and 30 deletions

24
APP/DTO/User.cs Normal file
View File

@@ -0,0 +1,24 @@
using System.Text.Json.Serialization;
namespace APP.DTO;
public class User
{
[JsonPropertyName("id")] public long Id { get; set; }
[JsonPropertyName("username")] public string Username { get; set; }
[JsonPropertyName("url")] public string Url { get; set; }
[JsonPropertyName("imageUrl")] public string ImageUrl { get; set; }
[JsonPropertyName("lastOnline")] public DateTime LastOnline { get; set; }
[JsonPropertyName("gender")] public string? Gender { get; set; }
[JsonPropertyName("birthday")] public DateTime? Birthday { get; set; }
[JsonPropertyName("location")] public string? Location { get; set; }
[JsonPropertyName("joined")] public DateTime Joined { get; set; }
}