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

namespace APT.BaseData.Domain.ApiModel.PF
{
    public class MqttMessage
    {
       /// <summary>
       /// 应用名称
       /// </summary>
        public string AppName { set; get; }
        /// <summary>
        /// 消息数据
        /// </summary>
        public dynamic Data { get; set; }
    }

    //
    // 摘要:
    //     充电桩MQTT消息实体
    public class ChargeMesageData
    {
        /// <summary>
        /// 指令码
        /// </summary>
        public string cmd { get; set; }
        /// <summary>
        /// 充电订单号
        /// </summary>
        public string charge_no { get; set; }
        /// <summary>
        /// 终端序列码
        /// </summary>
        public string terminal_sn { get; set; }
        /// <summary>
        /// 终端编码
        /// </summary>
        public string terminal_no { get; set; }
        /// <summary>
        /// 时间戳
        /// </summary>
        public DateTime timestamp { get; set; }
        /// <summary>
        /// 提示消息
        /// </summary>
        public string message { get; set; }
        /// <summary>
        /// rfid卡号
        /// </summary>
        public string rfid { get; set; }
        /// <summary>
        /// 消息状态
        /// </summary>
        public int status { get; set; }
    }

}
