in any controller file,_form file if you are uses another model u need to display at top of the file:

For Example:

in my BatchController.php file i am using Course Model then i have to write the following:

use app\modules\course\models\Course;