mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
Create StatoFE.php
This commit is contained in:
17
modules/fatture/src/StatoFE.php
Normal file
17
modules/fatture/src/StatoFE.php
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Modules\Fatture;
|
||||||
|
|
||||||
|
use Common\Model;
|
||||||
|
|
||||||
|
class StatoFE extends Model
|
||||||
|
{
|
||||||
|
public $incrementing = false;
|
||||||
|
protected $table = 'fe_stati_documento';
|
||||||
|
protected $primaryKey = 'codice';
|
||||||
|
|
||||||
|
public function fatture()
|
||||||
|
{
|
||||||
|
return $this->hasMany(Fattura::class, 'codice_stato_fe');
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user