<?php

namespace Database\Seeders;

use App\Models\Product;
use Illuminate\Database\Seeder;

class ProductSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        Product::create([
            'name' => 'iPhone 15',
            'cost_price' => 800.00,
            'selling_price' => 1000.00,
            'quantity' => 10,
        ]);

        Product::create([
            'name' => 'Samsung Galaxy S24',
            'cost_price' => 700.00,
            'selling_price' => 900.00,
            'quantity' => 15,
        ]);

        Product::create([
            'name' => 'Google Pixel 8',
            'cost_price' => 600.00,
            'selling_price' => 800.00,
            'quantity' => 8,
        ]);
    }
}