First complete upload CasaDoc

This commit is contained in:
2024-09-18 10:42:19 +02:00
commit 2ab3e52df3
3042 changed files with 407823 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
<?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Str;
class PermissionFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = \Vanguard\Permission::class;
/**
* Define the model's default state.
*
* @return array
*/
public function definition()
{
return [
'name' => Str::random(5),
'display_name' => implode(" ", $this->faker->words(2)),
'description' => substr($this->faker->paragraph, 0, 191),
'removable' => true
];
}
}