Studies less that 8 months: No work permit
Studies anywhere from 8 months to less that 2 years: Work permit for the time of the studies. Example 1 year study, 1 year work permit.
Studies 2 or more: A maximum of 3 years of work permit.
Kindly search PGWP canada on google and everything is clearly explained on CIC website!!