public static function getDepartment() { return $this->hasOne(Department::className(), ['id' => 'department_id']); }