ibms-dome/Backend/Models/BuildMenu.cs

104 lines
3.7 KiB
C#
Raw Normal View History

2022-10-14 16:08:54 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Backend.Models
{
public class BuildMenu : Actor
{
2022-10-21 19:40:38 +08:00
public string building_tag { get; set; }
public string main_system_tag { get; set; }
public string sub_system_tag { get; set; }
2022-10-22 13:24:29 +08:00
public byte left_drawing { get; set; }
public byte left_icon_click { get; set; }
public string left_icon_click_url { get; set; }
public int left_icon_click_url_width { get; set; }
public int left_icon_click_url_height { get; set; }
public string left_system_url { get; set; }
public string left_riser_diagram_url { get; set; }
public byte left_planimetric_click { get; set; }
public string left_planimetric_floor_guid { get; set; }
public string left_build_menu_blankurl_modal { get; set; }
2022-10-22 13:24:29 +08:00
public byte right_drawing { get; set; }
public byte right_icon_click { get; set; }
public string right_icon_click_url { get; set; }
public int right_icon_click_url_width { get; set; }
public int right_icon_click_url_height { get; set; }
public string right_system_url { get; set; }
public string right_riser_diagram_url { get; set; }
public byte right_planimetric_click { get; set; }
public string right_planimetric_floor_guid { get; set; }
public string priority { get; set; }
2022-10-14 16:08:54 +08:00
}
public class PostBuildMenuPriority
{
public List<BuildMenuPriority> BuildMenuPriorities { get; set; }
}
public class BuildMenuPriority
{
public string Building_guid { get; set; } //區域GUID
public string Building_tag { get; set; } //區域TAG
public string Main_System_tag { get; set; } //大類TAG
public string Sub_System_tag { get; set; } //小類TAG
public int Priority { get; set; }
}
2022-10-14 16:08:54 +08:00
public class BuildMenuAddSub: BuildMenu
{
public string sub_system_guid_name { get; set; }
}
public class SubListIn
{
2022-10-21 19:40:38 +08:00
public string main_system_tag { get; set; }
public string building_tag { get; set; }
2022-10-14 16:08:54 +08:00
}
public class BuildMenuTablePost
{
2022-10-21 19:40:38 +08:00
public string building_tag { get; set; }
2022-10-14 16:08:54 +08:00
public List<string> MainList { get; set; }
}
public class BuildMenuTable: BuildMenu
{
public string main_system_guid_name { get; set; }
public string sub_system_guid_name { get; set; }
2022-10-22 13:24:29 +08:00
public string left_drawing_name { get; set; }
public string right_drawing_name { get; set; }
public string left_icon_click_name { get; set; }
public string left_planimetric_click_name { get; set; }
public string right_icon_click_name { get; set; }
public string right_planimetric_click_name { get; set; }
2022-10-14 16:08:54 +08:00
public string floor_guid_name { get; set; }
}
public class MenuIn : SubListIn
{
2022-10-21 19:40:38 +08:00
public string sub_system_tag { get; set; }
2022-10-14 16:08:54 +08:00
}
public class BuildMenuFloor : Actor
{
public string sub_system_floor_guid { get; set; }
public byte deleted { get; set; }
public byte status { get; set; }
public string building_guid { get; set; }
public string main_system_guid { get; set; }
public string sub_system_guid { get; set; }
public string floor_guid { get; set; }
}
public class BuildMenuFloorTable : BuildMenuFloor
{
2022-10-21 19:40:38 +08:00
public string sub_system_floor_id { get; set; }
2022-10-14 16:08:54 +08:00
public string main_system_guid_name { get; set; }
public string sub_system_guid_name { get; set; }
public string floor_guid_name { get; set; }
}
public class MenuInfloor: MenuIn
{
public List<string> floorlist { get; set; }
}
}