using Newtonsoft.Json; using System.Runtime.Serialization; namespace ConsoleApp3.DataContracts { [DataContract] public class ModelStaticCountry { [DataMember(Name = "id", EmitDefaultValue = false)] [JsonProperty(PropertyName = "id")] public int Id { get; set; } [DataMember(Name = "objectName", EmitDefaultValue = false)] [JsonProperty(PropertyName = "objectName")] public string ObjectName { get; set; } = "StaticCountry"; /// /// /// /// [DataMember(Name = "code", EmitDefaultValue = false)] [JsonProperty(PropertyName = "code")] public string Code { get; set; } /// /// /// /// [DataMember(Name = "name", EmitDefaultValue = false)] [JsonProperty(PropertyName = "name")] public string Name { get; set; } /// /// /// /// [DataMember(Name = "nameEn", EmitDefaultValue = false)] [JsonProperty(PropertyName = "nameEn")] public string NameEn { get; set; } /// /// /// /// [DataMember(Name = "translationCode", EmitDefaultValue = false)] [JsonProperty(PropertyName = "translationCode")] public string TranslationCode { get; set; } /// /// /// /// [DataMember(Name = "locale", EmitDefaultValue = false)] [JsonProperty(PropertyName = "locale")] public string Locale { get; set; } /// /// /// /// [DataMember(Name = "priority", EmitDefaultValue = false)] [JsonProperty(PropertyName = "priority")] public int? Priority { get; set; } } }