- Added SupplierController for handling supplier operations. - Created SupplierRequest for validation of supplier data. - Introduced SupplierService for business logic related to suppliers. - Developed UI components for supplier management, including a data table and dialogs for creating and editing suppliers. - Updated routes to include resourceful routes for suppliers. - Added SupplierSeeder for populating initial supplier data. - Implemented tests for supplier functionality, including creation, updating, and deletion.
15 lines
229 B
PHP
15 lines
229 B
PHP
<?php
|
|
|
|
namespace Database\Seeders;
|
|
|
|
use App\Models\Supplier;
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class SupplierSeeder extends Seeder
|
|
{
|
|
public function run(): void
|
|
{
|
|
Supplier::factory()->count(100)->create();
|
|
}
|
|
}
|