<?php

/** @var Factory $factory */

use App\PartnerDescription;
use Faker\Generator as Faker;
use Illuminate\Database\Eloquent\Factory;

$factory->define(PartnerDescription::class, function (Faker $faker) {
    return [
        'name' => $faker->text(20),
        'slug' => $faker->unique()->name,
        'meta_description' => $faker->sentence,
        'keywords' => $faker->unique()->sentence,
        'description' => $faker->sentence,
//        'page_id' => factory(Page::class)->create()->id,
//        'language_id' => Language::firstOrCreate(['local'=> getCurrentLocale(), 'name'=> \LaravelLocalization::getCurrentLocaleName()])->id,
    ];
});
