openstamanager/modules/ddt/src/Components/Riga.php

26 lines
391 B
PHP
Raw Normal View History

2018-12-29 14:24:27 +01:00
<?php
namespace Modules\DDT\Components;
use Common\Components\Row;
use Modules\DDT\DDT;
class Riga extends Row
{
use RelationTrait;
protected $table = 'dt_righe_ddt';
/**
* Crea una nuova riga collegata ad una ddt.
*
* @return self
*/
2019-01-02 14:15:16 +01:00
public static function build(DDT $ddt)
2018-12-29 14:24:27 +01:00
{
2019-01-02 14:15:16 +01:00
$model = parent::build($ddt);
2018-12-29 14:24:27 +01:00
return $model;
}
}