<?php

use Faker\Generator as Faker;

/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|
| This directory should contain each of the model factory definitions for
| your application. Factories provide a convenient way to generate new
| model instances for testing / seeding your application's database.
|
*/
// Manually creating the relationship tree.
$factory->define(App\Company::class, function (Faker $faker) {
    return [
        'company_name'=>'testing',
        'registration_no'=>'testing',
        'tax_no'=>'testing',
        'tel_no'=>'12345',
        'fax'=>'12345',
        'address'=>'testing',
        'city'=>'testing',
        'postcode'=>'testing',
        'state'=>'testing',
        'country'=>'testing',
        'contact_person'=>'testing'
    ];
});
