Custom animated models in hammer?

I created a model of the companion cube where the top of the cube opens up on a continuous loop, how would I get this model into a hammer map?

The object doesn’t need to be touchable or movable, it just needs to sit where I placed it in the hammer map and do the animation in a loop.