<?php

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

use App\Language;
use App\PhotoGallery;
use App\PhotoGalleryDescription;
use Faker\Generator as Faker;

$factory->define(PhotoGalleryDescription::class, function (Faker $faker) {
    return [
        'name' => $faker->name,
        'slug' => $faker->unique()->name,
        'photo_category_id' => factory(PhotoGallery::class)->create()->id,
        'language_id' => currentLanguage()->id,
    ];
});
