Umgeschrieben auf Sevdesk
This commit is contained in:
66
ConsoleApp3/DataContracts/ModelStaticCountry.cs
Normal file
66
ConsoleApp3/DataContracts/ModelStaticCountry.cs
Normal file
@@ -0,0 +1,66 @@
|
||||
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";
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <value></value>
|
||||
[DataMember(Name = "code", EmitDefaultValue = false)]
|
||||
[JsonProperty(PropertyName = "code")]
|
||||
public string Code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <value></value>
|
||||
[DataMember(Name = "name", EmitDefaultValue = false)]
|
||||
[JsonProperty(PropertyName = "name")]
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <value></value>
|
||||
[DataMember(Name = "nameEn", EmitDefaultValue = false)]
|
||||
[JsonProperty(PropertyName = "nameEn")]
|
||||
public string NameEn { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <value></value>
|
||||
[DataMember(Name = "translationCode", EmitDefaultValue = false)]
|
||||
[JsonProperty(PropertyName = "translationCode")]
|
||||
public string TranslationCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <value></value>
|
||||
[DataMember(Name = "locale", EmitDefaultValue = false)]
|
||||
[JsonProperty(PropertyName = "locale")]
|
||||
public string Locale { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <value></value>
|
||||
[DataMember(Name = "priority", EmitDefaultValue = false)]
|
||||
[JsonProperty(PropertyName = "priority")]
|
||||
public int? Priority { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user