If you decide to invite your boss and colleagues to dinner, you can invite them privately, or send invitations to all employees through emails or announcements within the company. When inviting, you should explain that the purpose of the dinner is to thank everyone for their support and help to your wedding and strengthen team cohesion. In addition, you can introduce yourself to everyone at dinner and share some personal experiences and ideas, which will help you get to know you better.
In short, the decision to have dinner with your boss and colleagues should be based on your own wishes and company culture, and at the same time, you should respect everyone's time and wishes.