mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 20:26:56 -04:00
* Fix for comparing delete contacts change diffKeys to diff() * Client create * Client Settings * Working on localization * Refactor DataTables * protyping blade vs pure vue * Rebuild test module * Generic notes module * Small Client Notes Module * Tests for TabMenu Trait * implements tab pills in client screen * Integrate Modules
19 lines
254 B
PHP
19 lines
254 B
PHP
<?php
|
|
|
|
namespace Modules\Notes\Entities;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class Note extends Model
|
|
{
|
|
protected $guarded = [
|
|
'id',
|
|
];
|
|
|
|
public function client()
|
|
{
|
|
$this->hasOne(App\Models\Client::class);
|
|
}
|
|
|
|
}
|