betResCommnon.cs 760 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5. using Newtonsoft.Json;
  6. namespace ApiProcess.Models.bet
  7. {
  8. public class ResCommnon
  9. {
  10. [JsonProperty("responseCode")]
  11. public string responseCode { get; set; }
  12. [JsonProperty("responseMessage")]
  13. public string responseMessage { get; set; }
  14. public override string ToString()
  15. {
  16. return JsonConvert.SerializeObject(this);
  17. }
  18. public ResCommnon()
  19. {
  20. }
  21. public ResCommnon(string _responseCode,string _responseMessage)
  22. {
  23. this.responseCode = _responseCode;
  24. this.responseMessage = _responseMessage;
  25. }
  26. }
  27. }