


using System;

namespace Aurora.Infrastructure.Response
{
    public class ResponseModel<T>
    {
        public ErrorCodes ErrorCode { get; set; }

        public T Data { get; set; }

        public ResponseModel(T data)
        {
            Data = data;
            ErrorCode = ErrorCodes.Success;
        }
    }
}
