protected function getModelStub()
	{
		$stub = file_get_contents(__DIR__.'/../Mmanos/Metable/Stubs/MetaModel.stub.php');
		
		$name_parts = explode('_', $this->tableName());
		$namespace = '';
		for ($i = 0; $i < (count($name_parts) - 1); $i++) {
			$namespace .= '\\' . Str::studly(Str::singular($name_parts[$i]));
		}
		$namespace = trim($namespace, '\\');
		$class = Str::studly(Str::singular(end($name_parts)));
		
		$stub = str_replace('{{namespace}}', empty($namespace) ? '' : " namespace {$namespace};", $stub);
		$stub = str_replace('{{class}}', $class, $stub);
		$stub = str_replace('{{table}}', $this->tableName(), $stub);
		
		return $stub;
	}