UploadFilling.cs 946 B

12345678910111213141516171819202122232425262728293031323334353637
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using System.Text.Json.Serialization;
  5. namespace Dfs.WayneChina.CheryFuelController.Messages
  6. {
  7. public class UploadFilling
  8. {
  9. [JsonPropertyName("serno")]
  10. public string SerialNo { get; set; }
  11. [JsonPropertyName("vin")]
  12. public string Vin { get; set; }
  13. [JsonPropertyName("eqp_num")]
  14. public string EquipmentNumber { get; set; }
  15. [JsonPropertyName("fill_result")]
  16. public string FillingResult { get; set; }
  17. [JsonPropertyName("complete_time")]
  18. public DateTime CompletionTime { get; set; }
  19. [JsonPropertyName("list")]
  20. public List<DataItem> Items { get; set; }
  21. }
  22. public class DataItem
  23. {
  24. [JsonPropertyName("item_name")]
  25. public string ItemName { get; set; }
  26. [JsonPropertyName("item_value")]
  27. public string ItemValue { get; set; }
  28. }
  29. }