uploadEvoucherObj.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. using CommonObj.model;
  2. using Newtonsoft.Json;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Text;
  6. namespace CommonObj.lotoModel
  7. {
  8. public class evoucherObj
  9. {
  10. [JsonProperty("serial")]
  11. public string serial { get; set; }
  12. [JsonProperty("evoucher")]
  13. public string evoucher { get; set; }
  14. [JsonProperty("money")]
  15. public string money { get; set; }
  16. [JsonProperty("createDate")]
  17. public string createDate { get; set; }
  18. [JsonProperty("expireDate")]
  19. public string expireDate { get; set; }
  20. public override string ToString()
  21. {
  22. return JsonConvert.SerializeObject(this);
  23. }
  24. }
  25. public class uploadEvoucherObj
  26. {
  27. [JsonProperty("name")]
  28. public string name { get; set; }
  29. [JsonProperty("code")]
  30. public string code { get; set; }
  31. [JsonProperty("users")]
  32. public string users { get; set; }
  33. [JsonProperty("totalRow")]
  34. public string totalRow { get; set; }
  35. [JsonProperty("totalMoney")]
  36. public string totalMoney { get; set; }
  37. [JsonProperty("list")]
  38. public evoucherObj[] list { get; set; }
  39. public override string ToString()
  40. {
  41. return JsonConvert.SerializeObject(this);
  42. }
  43. }
  44. }