<?php

namespace Database\Factories;

use App\Models\Chemical;
use App\Models\Factory as ModelsFactory;
use App\Models\Factory_area;
use App\Models\Factory_bding;
use App\Models\Factory_chemical;
use App\Models\User;
use Illuminate\Database\Eloquent\Factories\Factory;

/**
 * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Factory_chemical>
 */
class Factory_chemicalFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array<string, mixed>
     */
    protected $model = Factory_chemical::class;
    
    public function definition(): array
    {
        return [
            'serial_num' => $this->faker->unique()->numberBetween(1000, 9999),
            'expired_date' => $this->faker->date,
        ];
    }
}
