You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

98 lines
2.2 KiB

1 year ago
  1. using Newtonsoft.Json;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Net.Http;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace Common.Model
  9. {
  10. public partial class TrustDocModel
  11. {
  12. [JsonProperty("type")]
  13. public string Type { get; set; }
  14. [JsonProperty("data")]
  15. public Data Data { get; set; }
  16. }
  17. public partial class Data
  18. {
  19. [JsonProperty("id")]
  20. public Guid Id { get; set; }
  21. [JsonProperty("public_id")]
  22. public Guid PublicId { get; set; }
  23. [JsonProperty("id_for_helper")]
  24. public Guid IdForHelper { get; set; }
  25. [JsonProperty("state")]
  26. public string State { get; set; }
  27. [JsonProperty("result")]
  28. public string Result { get; set; }
  29. [JsonProperty("accepted_at")]
  30. public DateTimeOffset? AcceptedAt { get; set; }
  31. [JsonProperty("plans_selected_at")]
  32. public DateTimeOffset? PlansSelectedAt { get; set; }
  33. [JsonProperty("document_submitted_at")]
  34. public DateTimeOffset? DocumentSubmittedAt { get; set; }
  35. [JsonProperty("prepared_at")]
  36. public object PreparedAt { get; set; }
  37. [JsonProperty("verified_at")]
  38. public object VerifiedAt { get; set; }
  39. [JsonProperty("external_id")]
  40. public string ExternalId { get; set; }
  41. [JsonProperty("records")]
  42. public Record[] Records { get; set; }
  43. }
  44. public partial class Record
  45. {
  46. [JsonProperty("state")]
  47. public string State { get; set; }
  48. [JsonProperty("result")]
  49. public object Result { get; set; }
  50. [JsonProperty("verified_at")]
  51. public object VerifiedAt { get; set; }
  52. [JsonProperty("plan")]
  53. public Plan Plan { get; set; }
  54. }
  55. public partial class Plan
  56. {
  57. [JsonProperty("id")]
  58. public Guid Id { get; set; }
  59. [JsonProperty("name")]
  60. public string Name { get; set; }
  61. }
  62. public class Reason
  63. {
  64. public string target { get; set; }
  65. public string code { get; set; }
  66. public object detail { get; set; }
  67. }
  68. public class TrustDocRequest
  69. {
  70. public string name { get; set; }
  71. public string birth { get; set; }
  72. }
  73. }