IMMREX7

aku nok ndi : /home/spdtg/www/schoolmis/app/
File Up :
aku nok ndi : /home/spdtg/www/schoolmis/app/Teacher.php

<?php

namespace App;

use Laravel\Passport\HasApiTokens;
use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Database\Eloquent\Model;
use App\Traits;

class Teacher extends Authenticatable {

    use Traits\AutoUpdateUserColumns;
    use Notifiable;
    use HasApiTokens;

    protected $guard = 'teacher';
    protected $primaryKey = 'idEmployee';
    protected $table = 'employees';
    protected $fillable = ['idSchool','type' ,'firstName', 'lastName', 'guardianName', 'photo','mobile' ,'address', 'email', 'dob', 'doj', 'password','pwd'];

    /**
     * The attributes that should be hidden for arrays.
     *
     * @var array
     */
    protected $hidden = [
        'password', 'remember_token',
    ];

}

Copyright © 2021 - 2025 IMMREX7