2018-08-08 19:32:20 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Modules\Fatture;
|
|
|
|
|
2018-10-05 11:22:32 +02:00
|
|
|
use Common\Model;
|
2018-08-08 19:32:20 +02:00
|
|
|
|
|
|
|
class Stato extends Model
|
|
|
|
{
|
|
|
|
protected $table = 'co_statidocumento';
|
|
|
|
|
|
|
|
public function fatture()
|
|
|
|
{
|
|
|
|
return $this->hasMany(Fattura::class, 'idstatodocumento');
|
|
|
|
}
|
|
|
|
}
|