namespace bitforum.Constants
{
    public class Menu
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public string? Path { get; set; }
        public string? Icon { get; set; }
        public List<Menu>? Children { get; set; } = new List<Menu>();
    }

    public static class MenuData
    {
        public static List<Menu> GetMenus()
        {
            return new List<Menu>
            {
                new Menu
                {
                    Id = 100,
                    Name = "상황판",
                    Path = "/",
                    Icon = "<i class=\"bi bi-speedometer\"></i>",
                    Children = null
                },

                new Menu
                {
                    Id = 200,
                    Name = "환경",
                    Path = null,
                    Icon = "<i class=\"bi bi-gear\"></i>",
                    Children = new List<Menu>
                    {
                        new Menu
                        {
                            Id = 201,
                            Name = "서버 정보",
                            Path = "/Setting/Server"
                        },
                        new Menu
                        {
                            Id = 202,
                            Name = "환경변수",
                            Path = "/Setting/Envs"
                        },
                        new Menu
                        {
                            Id = 203,
                            Name = "기본 설정",
                            Path = "/Setting/Basic"
                        },
                        new Menu
                        {
                            Id = 204,
                            Name = "메타 태그",
                            Path = "/Setting/Meta"
                        },
                        new Menu
                        {
                            Id = 205,
                            Name = "회사 정보",
                            Path = "/Setting/Company"
                        },
                        new Menu
                        {
                            Id = 207,
                            Name = "회원가입 설정",
                            Path = "/Setting/Register"
                        },
                        new Menu
                        {
                            Id = 208,
                            Name = "알림 발송 확인",
                            Path = "/Setting/Test"
                        },
                        new Menu
                        {
                            Id = 209,
                            Name = "권한 관리",
                            Path = "/Director/User"
                        },
                    }
                },

                new Menu
                {
                    Id = 300,
                    Name = "일반",
                    Path = null,
                    Icon = "<i class=\"bi bi-card-heading\"></i>",
                    Children = new List<Menu>
                    {
                        new Menu
                        {
                            Id = 301,
                            Name = "문서 관리",
                            Path = "/Page/Document"
                        },
                        new Menu
                        {
                            Id = 302,
                            Name = "FAQ 관리",
                            Path = "/Page/Faq/Item"
                        },
                        new Menu
                        {
                            Id = 303,
                            Name = "팝업 관리",
                            Path = "/Page/Popup"
                        },
                        new Menu
                        {
                            Id = 304,
                            Name = "배너 관리",
                            Path = "/Page/Banner/Item"
                        }
                    }
                },

                new Menu
                {
                    Id = 400,
                    Name = "회원",
                    Path = null,
                    Icon = "<i class=\"bi bi-people\"></i>",
                    Children = new List<Menu>
                    {
                        new Menu
                        {
                            Id = 401,
                            Name = "회원 목록",
                            Path = "/User/List"
                        },
                        new Menu
                        {
                            Id = 402,
                            Name = "회원 등급",
                            Path = "/User/Grade"
                        },
                        new Menu
                        {
                            Id = 403,
                            Name = "현재 접속자",
                            Path = "/User/Current"
                        },
                        new Menu
                        {
                            Id = 404,
                            Name = "로그인 기록",
                            Path = "/User/Logs/Login"
                        },
                        new Menu
                        {
                            Id = 405,
                            Name = "별명 변경 내역",
                            Path = "/User/Logs/Name"
                        },
                        new Menu
                        {
                            Id = 406,
                            Name = "이메일 변경 내역",
                            Path = "/User/Logs/Email"
                        }
                    }
                },

                new Menu
                {
                    Id = 500,
                    Name = "게시판",
                    Path = null,
                    Icon = "<i class=\"bi bi-clipboard2\"></i>",
                    Children = new List<Menu>
                    {
                        new Menu
                        {
                            Id = 501,
                            Name = "분류 관리",
                            Path = "/Board/Group"
                        },
                        new Menu
                        {
                            Id = 502,
                            Name = "게시판 관리",
                            Path = "/Board/List"
                        },
                        new Menu
                        {
                            Id = 503,
                            Name = "게시물 관리",
                            Path = "/Board/Post"
                        },
                        new Menu
                        {
                            Id = 504,
                            Name = "휴지통",
                            Path = "/Board/Post/Trash"
                        },
                        new Menu
                        {
                            Id = 505,
                            Name = "첨부파일",
                            Path = "/Board/Post/File"
                        },
                        new Menu
                        {
                            Id = 506,
                            Name = "이미지",
                            Path = "/Board/Post/Image"
                        },
                        new Menu
                        {
                            Id = 507,
                            Name = "공감 관리",
                            Path = "/Board/Post/Like"
                        },
                        new Menu
                        {
                            Id = 508,
                            Name = "신고 관리",
                            Path = "/Board/Post/Blame"
                        }
                    }
                },

                new Menu
                {
                    Id = 600,
                    Name = "댓글",
                    Path = null,
                    Icon = "<i class=\"bi bi-chat\"></i>",
                    Children = new List<Menu>
                    {
                        new Menu
                        {
                            Id = 601,
                            Name = "댓글 관리",
                            Path = "/Board/Comment"
                        },
                        new Menu
                        {
                            Id = 602,
                            Name = "휴지통",
                            Path = "/Board/Comment/Trash"
                        },
                        new Menu
                        {
                            Id = 603,
                            Name = "첨부파일",
                            Path = "/Board/Comment/File"
                        },
                        new Menu
                        {
                            Id = 604,
                            Name = "이미지",
                            Path = "/Board/Comment/Image"
                        },
                        new Menu
                        {
                            Id = 605,
                            Name = "공감 관리",
                            Path = "/Board/Comment/Like"
                        },
                        new Menu
                        {
                            Id = 606,
                            Name = "신고 관리",
                            Path = "/Board/Comment/Blame"
                        }
                    }
                }
            };
        }
    }
}
