public function writeOut(OutputInterface $output = null, $force = false)
    {
        $class = str_singular($this->getClass());

        $this->writeToFileFromTemplate($this->path . '/' . $class . '.php', 'model', $output, [
            'namespace'       => $this->namespace,
            'className'       => $class,
            'tableName'       => snake_case($this->table->getTableName()),
            'relationMethods' => $this->table->renderRelationMethods(),
        ], $force);
    }