ldc-supportweb/database/seeders/Classic/NoticeSeeder.php
2026-04-30 14:48:24 +02:00

25 lines
440 B
PHP

<?php
namespace Database\Seeders\Classic;
use App\Models\Notice;
use Illuminate\Database\Seeder;
/**
* Seeds the notices table.
*/
class NoticeSeeder extends Seeder
{
/** @var string $table Associated table to this seeder. */
public static string $table = 'notices';
/**
* Run the database seeds.
*
* @return void
*/
public function run(): void
{
Notice::factory(10)->create();
}
}