modifiche siderbar e correzioni
This commit is contained in:
@@ -38,6 +38,11 @@ class Evento extends Model
|
||||
'is_incontro_gruppo' => 'boolean',
|
||||
];
|
||||
|
||||
public function tipologiaEvento(): BelongsTo
|
||||
{
|
||||
return $this->belongsTo(TipologiaEvento::class, 'tipo_evento', 'nome');
|
||||
}
|
||||
|
||||
public function tenant(): BelongsTo
|
||||
{
|
||||
return $this->belongsTo(Tenant::class);
|
||||
|
||||
Reference in New Issue
Block a user