%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/home/forge/api-takeaseat.eco-n-tech.co.uk/database/factories/
Upload File :
Create Path :
Current File : //proc/self/root/home/forge/api-takeaseat.eco-n-tech.co.uk/database/factories/PaymentFactory.php

<?php

namespace Database\Factories;

use App\Models\Payment;
use Illuminate\Database\Eloquent\Factories\Factory;

class PaymentFactory extends Factory
{
    /**
     * The name of the factory's corresponding model.
     *
     * @var string
     */
    protected $model = Payment::class;

    /**
     * Define the model's default state.
     *
     * @return array
     */
    public function definition()
    {
        return [
            'customer_id' => $this->faker->numberBetween(1, 100),
            'seller_id' => $this->faker->numberBetween(1, 100),
            'product_id' => $this->faker->numberBetween(1, 400),
            'amount' => $this->faker->numberBetween(30, 100),
            'fees_collected' => config('booking.booking_fee'),
            'refunded' => 0,
            'is_complete' => false
        ];
    }
}

Zerion Mini Shell 1.0