User.php 387 Bytes
Newer Older
Triyah Fatmawati committed
1 2 3 4 5 6 7 8 9 10
<?php

namespace App\Models\Admin;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class User extends Model
{
    use HasFactory;
Triyah Fatmawati committed
11 12 13 14 15 16 17 18 19 20 21 22

    public $incrementing = false;
    protected $table = 'users';
    protected $keyType = 'string';

    protected $fillable = [
        'id',
        'name',
        'email',
        'password',
    ];

Triyah Fatmawati committed
23
}