Two month of work
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Relations\HasMany;
|
||||
|
||||
class Timesheet extends Model
|
||||
{
|
||||
protected $fillable = ['title'];
|
||||
|
||||
public function entries(): HasMany
|
||||
{
|
||||
return $this->hasMany(TimesheetEntry::class);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user