for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Sick extends Model
{
/**
* The database table used by the model.
*
* @var string
*/
protected $table = 'absenteeism';
* Sickness relation tot the user.
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
public function user()
return $this->belongsTo('App\User');
}