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

namespace CommonEntity
{
    public class LMRegisterInfo
    {
        // 基础信息
        public string HotelCode { get; set; }
        public string RoomNumber { get; set; }
        public string HostNumber { get; set; }
        public string MAC { get; set; }

        // 网络信息
        public string EndPoint { get; set; }
        public byte[] Original_Data { get; set; }
        public string CurrentDateTime { get; set; }
        public long UnixTime { get; set; }
        //public string ConfigVersion { get; set; }
        //public string SubnetMask { get; set; }
        //public string Gateway { get; set; }
        //public string DNS { get; set; }
    }
    public class RegisterInfo
    {
        public long ts_ms { get; set; }
        public long hotel_id { get; set; }
        public string room_id { get; set; }
        public string device_id { get; set; }


        /// <summary>
        /// 1:下发，0:上报 默认0
        /// </summary>
        public ushort is_send { get; set; }
        public byte[] udp_raw { get; set; }
        public string extra { get; set; }

        public int ip_type { get; set; }
        /// <summary>
        /// 机型编号
        /// </summary>
        public string model_num { get; set; }
        public string server_ip { get; set; }
        public string ip { get; set; }
        public string subnet_mask { get; set; }
        public string gateway { get; set; }
        public string dns { get; set; }
        public string app_version { get; set; }
        /// <summary>
        /// RCU 时间，年月日 那种 
        /// </summary>
        public string rcu_time { get; set; }
        public string launcher_version { get; set; }
        public string mac { get; set; }
        public int room_type_id { get; set; }
        public string config_version { get; set; }
        public int room_status { get; set; }
        public string season { get; set; }

        /// <summary>
        /// 系统锁定状态
        /// </summary>
        public int sys_lock_status { get; set; }

        /// <summary>
        /// 授权时间
        /// </summary>
        public string authorization_time { get; set; }
        public string authorization_days { get; set; }
        public string room_num_remark { get; set; }
        public string room_type_remark { get; set; }
        public string room_remark { get; set; }

        public string mcu_name { get; set; }
        public string central_control_name { get; set; }
        public string configure_hotel_name { get; set; }
        public string configure_room_type_name { get; set; }

        /// <summary>
        /// 最后一次升级时间
        /// </summary>
        public long upgrade_ts_ms { get; set; }
    }
}
