<?php

namespace Database\Factories;

use App\Models\OrdenProduccion;
use App\Models\TrasladoPrenda;
use Illuminate\Database\Eloquent\Factories\Factory;

class TrasladoPrendaFactory extends Factory
{
    protected $model = TrasladoPrenda::class;

    public function definition()
    {
        return [
            'orden_produccion_id' => OrdenProduccion::factory(),
            'origen' => 'confeccion',
            'destino' => 'tintoreria',
            'cantidad_enviada' => $this->faker->numberBetween(1, 100),
            'cantidad_recibida' => $this->faker->numberBetween(0, 100),
            'prendas_defectuosas' => 0,
            'reparaciones' => 0,
            'saldos' => 0,
            'residual' => 0,
            'estado' => 'recibido',
        ];
    }
}
