mirror of
https://github.com/ultrasn0w/app.git
synced 2025-12-13 15:59:54 +01:00
First stuff
This commit is contained in:
24
APP/DTO/User.cs
Normal file
24
APP/DTO/User.cs
Normal 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; }
|
||||
}
|
||||
Reference in New Issue
Block a user