Created API endpoints

This commit is contained in:
2017-12-20 16:45:20 +07:00
parent ad11643854
commit 554c74481b
53 changed files with 4637 additions and 9 deletions

View File

@@ -0,0 +1,25 @@
<?php
use Illuminate\Database\Seeder;
use App\Models\Respondent;
class RespondentSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
Respondent::create([
'name' => 'respondent1',
'handphone' => '0123456789',
'email' => 'respondent1@company.com',
'gender' => 'm',
'occupation' => 'staff',
'birthdate' => '2017/01/01',
'category_id' => '1'
]);
}
}