Revolving cylinder

This is the first thing that I have designed using Solidworks. It was my homework at University :)
But, I hope, somebody will find this thing useful for his projects. This is not a thing to use with a real weapon :)