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.

26 lines
834 B

  1. 
  2. namespace Common
  3. {
  4. public class APIJsonResponse
  5. {
  6. public string ResponseCode { get; set; }
  7. public string Msg { get; set; }
  8. public string Id { get; set; }
  9. public object Data { get; set; }
  10. public string Extra { get; set; }
  11. public string Extra1 { get; set; }
  12. public string Extra3 { get; set; }
  13. public string FootNoteMessage { get; set; }
  14. public void SetResponse(string responseCode, string msg, string id = null, string extra = null, string extra1 = null, string extra3 = null, string footNoteMessage = "")
  15. {
  16. ResponseCode = responseCode;
  17. Msg = msg;
  18. Id = id;
  19. Extra = extra;
  20. Extra1 = extra1;
  21. Extra3 = extra3;
  22. FootNoteMessage = footNoteMessage;
  23. }
  24. }
  25. }