<?php

/** @var \Illuminate\Database\Eloquent\Factory $factory */

use App\Video;
use App\VideoCategoryDescription;
use Faker\Generator as Faker;

$factory->define(Video::class, function (Faker $faker) {
    return [
        'video' => $faker->url,
        'image' => $faker->sentence,
        'type' => rand(1,2),
        'video_category_id' => factory(VideoCategoryDescription::class)->make()->video_category_id,
    ];
});

