Guest User

Untitled

a guest
Feb 17th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. namespace Countries.Models
  2. {
  3. using Newtonsoft.Json;
  4. public class Translations
  5. {
  6. [JsonProperty(PropertyName = "de")]
  7. public string Germany { get; set; }
  8.  
  9. [JsonProperty(PropertyName = "es")]
  10. public string Spanish { get; set; }
  11.  
  12. [JsonProperty(PropertyName = "fr")]
  13. public string French { get; set; }
  14.  
  15. [JsonProperty(PropertyName = "ja")]
  16. public string Japanese { get; set; }
  17.  
  18. [JsonProperty(PropertyName = "it")]
  19. public string Italian { get; set; }
  20.  
  21. [JsonProperty(PropertyName = "br")]
  22. public string Brazilian { get; set; }
  23.  
  24. [JsonProperty(PropertyName = "pt")]
  25. public string Portuges { get; set; }
  26.  
  27. [JsonProperty(PropertyName = "nl")]
  28. public string Dutch { get; set; }
  29.  
  30. [JsonProperty(PropertyName = "hr")]
  31. public string Croatian { get; set; }
  32.  
  33. [JsonProperty(PropertyName = "fa")]
  34. public string Persian { get; set; }
  35. }
  36. }
Add Comment
Please, Sign In to add comment