vknet_vk/VkNet/Model/Career.cs
Timofei Jääger 55fcd5ed25
Удаляет FromJson (#1315)
---------

Co-authored-by: inyutin-maxim <inyutin_maxim@mail.ru>
2023-02-10 16:36:54 +03:00

59 lines
No EOL
1.5 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using Newtonsoft.Json;
namespace VkNet.Model;
/// <summary>
/// Информация о карьере пользователя.
/// </summary>
[Serializable]
public class Career
{
/// <summary>
/// Идентификатор сообщества (если доступно, иначе company).
/// </summary>
[JsonProperty("group_id")]
public long? GroupId { get; set; }
/// <summary>
/// Название организации (если доступно, иначе group_id).
/// </summary>
[JsonProperty("company")]
public string Company { get; set; }
/// <summary>
/// Идентификатор страны.
/// </summary>
[JsonProperty("country_id")]
public long? CountryId { get; set; }
/// <summary>
/// Идентификатор города (если доступно, иначе city_name).
/// </summary>
[JsonProperty("city_id")]
public long? CityId { get; set; }
/// <summary>
/// Название города (если доступно, иначе city_id).
/// </summary>
[JsonProperty("city_name")]
public string CityName { get; set; }
/// <summary>
/// Год начала работы.
/// </summary>
[JsonProperty("from")]
public int? From { get; set; }
/// <summary>
/// Год окончания работы.
/// </summary>
[JsonProperty("until")]
public ulong? Until { get; set; }
/// <summary>
/// Должность.
/// </summary>
[JsonProperty("position")]
public string Position { get; set; }
}