Siopas Inventory PETI for ISTW Website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

40 lines
1.1 KiB

<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
class Customer extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
// Sisipkan data pertama
DB::table('customers')->insert([
'id' => 'd961ad96-211b-4f68-9ff2-111111111111',
'name' => 'DHARMA',
'code_customer' => 'DPM',
'lot_no' => 'JKT23',
'no_tlp' => '02122344',
'address' => 'Jalan Raya Ciwatu',
'created_by' => 'Seeder',
'updated_by' => 'Seeder',
]);
// Sisipkan data kedua
DB::table('customers')->insert([
'id' => 'a5c7b207-1a1c-43b8-89bf-222222222222',
'name' => 'ADHI CHANDRA',
'code_customer' => 'ACJ',
'lot_no' => 'JKT23',
'no_tlp' => '02198765',
'address' => 'Jalan Raya Gelarmendala',
'created_by' => 'Seeder',
'updated_by' => 'Seeder',
]);
}
}