namespace NPin.Framework.AspNetCore;
[Serializable]
public class RemoteServiceSuccessInfo
{
///
/// code.
///
public string? Code { get; set; }
///
/// message.
///
public string? Message { get; set; }
///
/// details.
///
public string? Details { get; set; }
///
/// data.
///
public object? Data { get; set; }
public RemoteServiceSuccessInfo(){}
///
/// Creates a new instance of .
///
/// Error code
/// Error details
/// Error message
/// Error data
public RemoteServiceSuccessInfo(string message, string? details = null, string? code = null, object? data = null)
{
Message = message;
Details = details;
Code = code;
Data = data;
}
}