InformationCriminals.cs 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. using System.Collections;
  2. using Newtonsoft.Json;
  3. using System.Drawing;
  4. namespace Avalonia.UI.Models;
  5. public class InformationCriminals
  6. {
  7. [JsonProperty("publication")]
  8. public string? Newid { get; set; }
  9. [JsonProperty("@id")] public string? Title { get; set; }
  10. [JsonProperty("title")] public string? Office { get; set; }
  11. [JsonProperty("field_offices")] public string? Detail { get; set; }
  12. [JsonProperty("details")] public string? Pol { get; set; }
  13. [JsonProperty("sex")] public string? National { get; set; }
  14. [JsonProperty("nationality")] public int? Age { get; set; }
  15. [JsonProperty("age_max")] public int? Height { get; set; }
  16. [JsonProperty("height_max")] public string? Race { get; set; }
  17. [JsonProperty("race_raw")] public string? Hair { get; set; }
  18. [JsonProperty("hair_raw")] public string? Language { get; set; }
  19. [JsonProperty("languages")] public string? Urlpdf { get; set; }
  20. [JsonProperty("files")] public OrdinaryUrl? OrdinaryUrl { get; set; }
  21. public InformationCriminals(string? underNewid, string? underTitle, string? underOffice, string?
  22. underDetails, string? underPol, string? underNational, int? underAge, int? underHeight, string? underRace,
  23. string? underHair, string? underLanguage, string? underPdf, OrdinaryUrl underOrdinary)
  24. {
  25. this.Newid = underNewid;
  26. this.Title = underTitle;
  27. this.Office = underOffice;
  28. this.Detail = underDetails;
  29. this.Pol = underPol;
  30. this.National = underNational;
  31. this.Age = underAge;
  32. this.Height = underHeight;
  33. this.Race = underRace;
  34. this.Hair = underHair;
  35. this.Language = underLanguage;
  36. this.Urlpdf = underPdf;
  37. this.OrdinaryUrl = underOrdinary;
  38. }
  39. }