public function create($keyName = 'id', $route_key_name = 'id', $timestamps = true, $softDeletes = false, $fields=[])
    {
        $path = $this->getpath($this->name);

        if ($this->files->exists($path)) {
            throw new \Exception("Model [$this->name] already exists!");
        }

        $stub = $this->files->get($this->getStub());

        $stub = $this->replaceClass($stub, $this->name)
            ->replaceNamespace($stub, $this->name)
            ->replaceSoftDeletes($stub, $softDeletes)
            ->replaceTable($stub, $this->name)
            ->replaceTimestamp($stub, $timestamps)
            ->replacePrimaryKey($stub, $keyName)
            ->replaceFillable($stub, $fields)
            ->replaceGuarded($stub, $fields)
            ->replaceCasts($stub, $fields)
            ->replaceRouteKeyName($stub, $route_key_name)
            ->replaceSpace($stub);

        $this->files->put($path, $stub);

        return $path;
    }