Dynamics of structured predator-prey model