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;
|
|
|
|
}
|
|
|
|
}
|