How can I set up different rates within the same project for different persons?

How can I set up different rates within the same project for different persons?

Hello, 
I use invoice to timesheet consultancy projects. 

I need to define different prices per profiles.

Junior --> XXX euros 
Senior --> XXXX euros 

How can I do that? and automatically compute total amount based on timesheets? 

Thank you.