using System.Text.Json.Serialization;
using YandexMusic.API.Models.Common;

namespace YandexMusic.API.Models.Account;

public class YAccount
{
    public bool Child { get; set; }

    public string Birthday { get; set; }

    public string DisplayName { get; set; }

    public string FirstName { get; set; }

    public string FullName { get; set; }

    public bool HostedUser { get; set; }

    public string Login { get; set; }

    public bool NonOwnerFamilyMember { get; set; }

    public DateTime Now { get; set; }

    [JsonPropertyName("passport-phones")]
    public List<YPhone> PassportPhones { get; set; }

    public int Region { get; set; }

    public string RegionCode { get; set; }

    public DateTime RegisteredAt { get; set; }

    public string SecondName { get; set; }

    public bool ServiceAvailable { get; set; }

    public string Uid { get; set; }
}