15 lines
341 B
PHP
15 lines
341 B
PHP
<?php
|
|
|
|
namespace App;
|
|
|
|
use Illuminate\Foundation\Auth\User as Authenticatable;
|
|
use Laravel\Passport\HasApiTokens;
|
|
|
|
class Voter extends Authenticatable
|
|
{
|
|
use HasApiTokens;
|
|
|
|
protected $table = 'voter';
|
|
protected $fillable = ['name', 'no_kp', 'no_anggota','unit', 'election_id', 'alamat', 'telefon', 'saham', 'yuran', 'kehadiran'];
|
|
}
|