25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

25 lines
520 B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace JT808.DotNetty.Abstractions.Dtos
  5. {
  6. public class JT808ResultDto<T>
  7. {
  8. public string Message { get; set; }
  9. public int Code { get; set; }
  10. public T Data { get; set; }
  11. }
  12. public class JT808ResultCode
  13. {
  14. public const int Ok = 200;
  15. public const int Empty = 201;
  16. public const int NotFound = 404;
  17. public const int Fail = 400;
  18. public const int Error = 500;
  19. }
  20. }