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.

25 lines
749 B

  1. namespace CustomerOnlineV2.Common.Models
  2. {
  3. public class CommonResponse
  4. {
  5. public int ResponseCode { get; set; }
  6. public string? ResponseMessage { get; set; }
  7. public string? Id { get; set; }
  8. public string? Extra { get; set; }
  9. public object Data { get; set; }
  10. public CommonResponse()
  11. {
  12. ResponseCode = ResponseHelper.FAILED;
  13. ResponseMessage = ResponseMessageHelper.FAILED;
  14. }
  15. public CommonResponse(int responseCode, string? responseMessage, string? id = null, string? extra = null)
  16. {
  17. ResponseCode = responseCode;
  18. ResponseMessage = responseMessage;
  19. Id = id;
  20. Extra = extra;
  21. }
  22. }
  23. }