protected function generateModel($modelClassName, $modelTpl)
    {
        file_put_contents(
            Lb::app()->getRootDir() . DIRECTORY_SEPARATOR . '/models/' . $modelClassName . '.php',
            $modelTpl
        );
    }