mirror of
https://github.com/devcode-it/openstamanager.git
synced 2024-12-25 23:33:02 +01:00
16 lines
260 B
PHP
16 lines
260 B
PHP
|
<?php
|
||
|
|
||
|
namespace Modules\Anagrafiche;
|
||
|
|
||
|
use Illuminate\Database\Eloquent\Model;
|
||
|
|
||
|
class Nazione extends Model
|
||
|
{
|
||
|
protected $table = 'an_nazioni';
|
||
|
|
||
|
public function anagrafiche()
|
||
|
{
|
||
|
return $this->hasMany(Anagrafica::class, 'id_nazione');
|
||
|
}
|
||
|
}
|