<?php

namespace Database\Factories\Pilkades;

use App\Modules\Pilkades\Models\Desa;
use App\Modules\Pilkades\Models\Tps;
use Illuminate\Database\Eloquent\Factories\Factory;

class TpsFactory extends Factory
{
    protected $model = Tps::class;

    public function definition(): array
    {
        return [
            'desa_id' => Desa::factory(),
            'nomor' => (string) fake()->unique()->numberBetween(1, 20),
            'nama_lokasi' => fake()->company(),
            'alamat' => fake()->address(),
        ];
    }
}
