You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
topnotch_website/database/seeders/CustomerSeeder.php

37 lines
1.6 KiB
PHTML

3 months ago
<?php
namespace Database\Seeders;
use App\Models\Customer;
use Illuminate\Database\Seeder;
class CustomerSeeder extends Seeder
{
public function run(): void
{
Customer::factory(5)->create();
Customer::factory(['company_name' => 'Genumark'])->create();
3 months ago
// ->has(ShippingEntry::factory([
// 'account_title' => 'Genumark',
// 'courier' => 'UPS CampusShip',
// 'contact' => 'https://www.ups.com/lasso/login',
// 'account_username' => 'GenumarkTopNotch',
// 'account_password' => 'TopNotch@13579',
// 'info_needed' => 'Put PO on box',
// 'notify' => 'Various reps, CC Kathlyn Wood',
// 'notes' => 'For Save On Foods orders, see Genumark SOF',
// ]))
// ->has(ShippingEntry::factory([
// 'account_title' => 'Genumark Save-On-Foods',
// 'courier' => 'UPS CampusShip',
// 'contact' => 'https://www.ups.com/lasso/login',
// 'account_username' => 'GenumarkTopNotch',
// 'account_password' => 'TopNotch@13579',
// 'info_needed' => 'Put PO on box',
// 'notify' => 'Jane Wellman',
// 'notes' => 'Don\'t CC Kathlyn for SOF orders',
// ]))
3 months ago
}
}