fix doc
This commit is contained in:
@@ -18,9 +18,14 @@ class Documento extends Model
|
||||
'tenant_id', 'user_id', 'cartella_id', 'repository_id', 'storage_disk',
|
||||
'nome_file', 'file_path', 'tipo', 'tipologia',
|
||||
'visibilita', 'visibilita_target_id', 'visibilita_target_type',
|
||||
'mime_type', 'dimensione', 'note'
|
||||
'mime_type', 'dimensione', 'note', 'url'
|
||||
];
|
||||
|
||||
public function isLink(): bool
|
||||
{
|
||||
return $this->tipo === 'link';
|
||||
}
|
||||
|
||||
public function tenant(): BelongsTo
|
||||
{
|
||||
return $this->belongsTo(Tenant::class);
|
||||
|
||||
Reference in New Issue
Block a user