private static void Main(string[] args)
        {
            TeamLeader        tl = new TeamLeader("组长");
            DepartmentManager dm = new DepartmentManager("部门经理");
            GeneralManager    gm = new GeneralManager("总经理");

            tl.SetSuperior(dm);
            dm.SetSuperior(gm);

            Application a1 = new Application("小明", 1);

            tl.HandleApplications(a1);

            Application a2 = new Application("小明", 4);

            tl.HandleApplications(a2);

            Application a3 = new Application("小明", 12);

            tl.HandleApplications(a3);

            Application a4 = new Application("小明", 31);

            tl.HandleApplications(a4);

            Console.ReadLine();
        }
        private static void Main(string[] args)
        {
            CommonManager cm = new CommonManager("CM");
            MajorManager mm = new MajorManager("MM");
            GeneralManager gm = new GeneralManager("GM");
            CEOManager em = new CEOManager("EM");

            gm.SetSuperior(mm);
            mm.SetSuperior(cm);

            //cm.SetSuperior(mm);
            // mm.SetSuperior(gm);
            //gm.SetSuperior(em);

            Request r1 = new Request("小明", "请假", "表弟结婚", 1);
            cm.RequestApplications(r1);

            Request r2 = new Request("小明", "请假", "表弟结婚", 4);
            cm.RequestApplications(r2);

            Request r3 = new Request("小明", "请假", "表弟结婚", 6);
            cm.RequestApplications(r3);

            Request r4 = new Request("小明", "加薪", "物价上涨太快", 500);
            cm.RequestApplications(r4);

            Request r5 = new Request("小明", "加薪", "物价上涨太快", 1000);
            cm.RequestApplications(r5);

            Console.ReadLine();
        }
        private static void Main(string[] args)
        {
            TeamLeader tl = new TeamLeader("组长");
            DepartmentManager dm = new DepartmentManager("部门经理");
            GeneralManager gm = new GeneralManager("总经理");

            tl.SetSuperior(dm);
            dm.SetSuperior(gm);

            Application a1 = new Application("小明", 1);
            tl.HandleApplications(a1);

            Application a2 = new Application("小明", 4);
            tl.HandleApplications(a2);

            Application a3 = new Application("小明", 12);
            tl.HandleApplications(a3);

            Application a4 = new Application("小明", 31);
            tl.HandleApplications(a4);

            Console.ReadLine();
        }
        private static void Main(string[] args)
        {
            CommonManager  cm = new CommonManager("CM");
            MajorManager   mm = new MajorManager("MM");
            GeneralManager gm = new GeneralManager("GM");
            CEOManager     em = new CEOManager("EM");

            gm.SetSuperior(mm);
            mm.SetSuperior(cm);

            //cm.SetSuperior(mm);
            // mm.SetSuperior(gm);
            //gm.SetSuperior(em);

            Request r1 = new Request("小明", "请假", "表弟结婚", 1);

            cm.RequestApplications(r1);

            Request r2 = new Request("小明", "请假", "表弟结婚", 4);

            cm.RequestApplications(r2);

            Request r3 = new Request("小明", "请假", "表弟结婚", 6);

            cm.RequestApplications(r3);

            Request r4 = new Request("小明", "加薪", "物价上涨太快", 500);

            cm.RequestApplications(r4);

            Request r5 = new Request("小明", "加薪", "物价上涨太快", 1000);

            cm.RequestApplications(r5);

            Console.ReadLine();
        }