company.cs 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5. using ApiProcess.Models.bet;
  6. using CommonObj.model;
  7. using Newtonsoft.Json;
  8. namespace ApiProcess.Models.balance
  9. {
  10. public class company
  11. {
  12. [JsonProperty("id")]
  13. public string id { get; set; }
  14. [JsonProperty("code")]
  15. public string code { get; set; }
  16. [JsonProperty("name")]
  17. public string name { get; set; }
  18. [JsonProperty("phone")]
  19. public string phone { get; set; }
  20. [JsonProperty("email")]
  21. public string email { get; set; }
  22. [JsonProperty("address")]
  23. public string address { get; set; }
  24. [JsonProperty("desciption")]
  25. public string desciption { get; set; }
  26. [JsonProperty("note")]
  27. public string note { get; set; }
  28. [JsonProperty("usersCreated")]
  29. public string usersCreated { get; set; }
  30. [JsonProperty("dateCreated")]
  31. public string dateCreated { get; set; }
  32. [JsonProperty("usersUpdate")]
  33. public string usersUpdate { get; set; }
  34. [JsonProperty("dateUpdate")]
  35. public string dateUpdate { get; set; }
  36. public override string ToString()
  37. {
  38. return JsonConvert.SerializeObject(this);
  39. }
  40. }
  41. public class companyList : Response
  42. {
  43. [JsonProperty("rowsOnPage")]
  44. public string rowsOnPage { get; set; }
  45. [JsonProperty("seqPage")]
  46. public string seqPage { get; set; }
  47. [JsonProperty("totalPage")]
  48. public string totalPage { get; set; }
  49. [JsonProperty("companyList")]
  50. public company[] list { get; set; }
  51. public override string ToString()
  52. {
  53. return JsonConvert.SerializeObject(this);
  54. }
  55. }
  56. }