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.
 
 

47 regels
842 B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace BPA.SAAS.KitChenManageOrder.Application.BaseDto
  7. {
  8. public class ResultEntity
  9. {
  10. public bool IsSuccess { get; set; }
  11. public string Msg { get; set; }
  12. public Object Data { get; set; }
  13. }
  14. public class ResultEntity<T>
  15. {
  16. public bool IsSuccess { get; set; }
  17. public string Msg { get; set; }
  18. public T Data { get; set; }
  19. }
  20. public class Result<T>
  21. {
  22. public int StatusCode { get; set; }
  23. public ResultEntity<T> Data { get; set; }
  24. public string Succeeded { get; set; }
  25. public object Errors { get; set; }
  26. public object Extras { get; set; }
  27. public string Timestamp { get; set; }
  28. }
  29. }