using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Backend.Models { public class BuildMenu : Actor { public string building_tag { get; set; } public string main_system_tag { get; set; } public string sub_system_tag { get; set; } 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 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; } } public class PostBuildMenuPriority { public List 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; } } public class BuildMenuAddSub: BuildMenu { public string sub_system_guid_name { get; set; } } public class SubListIn { public string main_system_tag { get; set; } public string building_tag { get; set; } } public class BuildMenuTablePost { public string building_tag { get; set; } public List MainList { get; set; } } public class BuildMenuTable: BuildMenu { public string main_system_guid_name { get; set; } public string sub_system_guid_name { get; set; } 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; } public string floor_guid_name { get; set; } } public class MenuIn : SubListIn { public string sub_system_tag { get; set; } } 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 { public string sub_system_floor_id { get; set; } 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 floorlist { get; set; } } }