using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Backend.Models
{
    public class BuildingMenuRawData
    {
        public string building_tag { get; set; }
        public string bFull_name { get; set; }
        public int bPriority { get; set; }
        public string main_system_tag { get; set; }
        public string mFull_name { get; set; }
        public int mPriority { get; set; }
        public string sub_system_tag { get; set; }
        public string sFull_name { get; set; }
        public int sPriority { get; set; }
    }

    public class BuildingCollapse : Actor
    {
        public string Building_tag { get; set; }
        public string Full_name { get; set; }
        public string Ip_address { get; set; }
        public int Priority { get; set; }
        public List<Main_system> Main_systems { get; set; }
    }
    public class Main_system
    {
        public string Main_system_tag { get; set; }
        public string Full_name { get; set; }
        public int Priority { get; set; }
        public string Code { get; set; }
        public List<Sub_system> Sub_systems { get; set; }
    }
    public class Sub_system
    {
        public string Sub_system_tag { get; set; }
        public string Full_name { get; set; }
        public int Priority { get; set; }
        public byte Drawing { get; set; }
        public byte Icon_click { get; set; }
        public string Icon_click_url { get; set; }
        public string System_url { get; set; }
        public List<Floor> Floors { get; set; }
    }
    public class Floor
    {
        public string Floor_tag { get; set; }
        public string Full_name { get; set; }
        public string InitMapName { get; set; }
        public string Floor_map_name { get; set; } //平面圖檔名
        public int Priority { get; set; }
    }

    public class SubSystemFloorRawData
    {
        public string id { get; set; }
        public string building_tag { get; set; }
        public string main_system_tag { get; set; }
        public string sub_system_tag { get; set; }
        public string Floor_tag { get; set; }
        public string fFull_name { get; set; }
        public string InitMapName { get; set; }
        public string Floor_map_name { get; set; }
        public string fPriority { get; set; }
        public int Priority { get; set; }
    }
}