using System;
using System.Collections.Generic;
using System.Text;

namespace JT808.DotNetty.Dtos
{
    public class JT808ResultDto<T>
    {
        public string Message { get; set; }

        public int Code { get; set; }

        public T Data { get; set; }
    }

    internal class JT808ResultCode
    {
        public const int Ok = 200;
        public const int Empty = 201;
        public const int NotFound = 404;
        public const int Error = 500;
    }
}
