mirror of
https://github.com/ultrasn0w/app.git
synced 2025-12-13 12:29:53 +01:00
25 lines
724 B
C#
25 lines
724 B
C#
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 DateTimeOffset 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; }
|
|
}
|