<?php

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

use App\Siswa as Model;
use Faker\Generator as Faker;

$factory->define(Model::class, function (Faker $faker) {
    return [
        'nis' => $faker->randomNumber(7),
        'nisn' => '00'.$faker->randomNumber(8),
        'nopes' => $faker->regexify('[0-9]-[0-9]{2}-[0-9]{2}-[0-9]{2}-[0-9]{3}-[0-9]{3}-[0-9]'),
        'nama' => $faker->name,
        'tempat_lahir' => $faker->city,
        'tanggal_lahir' => $faker->date,
        'kelas' => 'xii mm 1',
        'bsk' => $faker->jobTitle,
        'psk' => $faker->jobTitle,
        'kk' => $faker->jobTitle,
        'lulus' => true,
    ];
});
