You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
<?php
|
|
|
|
namespace App;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class Staff extends Model
|
|
{
|
|
|
|
protected $fillable=[
|
|
'name','family','role'
|
|
];
|
|
|
|
public function roll_calls()
|
|
{
|
|
return $this->hasMany('App\RollCall');
|
|
}
|
|
|
|
}
|