<?php

namespace Database\Factories;

use App\Models\Branch;
use App\Models\Shift;
use App\Models\User;
use Illuminate\Database\Eloquent\Factories\Factory;

class ShiftFactory extends Factory
{
    protected $model = Shift::class;

    public function definition(): array
    {
        return [
            'branch_id' => Branch::factory(),
            'user_id' => User::factory(),
            'opened_at' => now(),
            'opening_float' => 0,
            'status' => 'open',
        ];
    }
}
