namespace XiaoZhiSharp.MQTT.Common
{
    /// <summary>
    /// 信息载体
    /// </summary>
    public class ResultMqtt
    {
        /// <summary>
        /// 结果Code
        /// 正常1，其他为异常；0不作为回复结果
        /// </summary>
        public int ResultCode { get; set; } = 0;

        /// <summary>
        /// 结果信息
        /// </summary>
        public string ResultMsg { get; set; } = string.Empty;

        /// <summary>
        /// 扩展1
        /// </summary>
        public object ResultObject1 { get; set; } = string.Empty;

        /// <summary>
        /// 扩展2
        /// </summary>
        public object ResultObject2 { get; set; } = string.Empty;
    }
}
