MIF_E31220412/app/Models/Admin.php

21 lines
348 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Foundation\Auth\User as Authenticatable;
class Admin extends Authenticatable
{
protected $fillable = [
'username',
'email',
'no_telp',
'alamat',
'password'
];
protected $hidden = [
'password'
];
}