A periodic stage-structure model