mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-25 15:58:56 +01:00
28 lines
472 B
PHP
28 lines
472 B
PHP
<?php
|
|
|
|
namespace Modules\Ordini\Components;
|
|
|
|
use Common\Components\Description;
|
|
use Modules\Ordini\Ordine;
|
|
|
|
class Descrizione extends Description
|
|
{
|
|
use RelationTrait;
|
|
|
|
protected $table = 'or_righe_ordine';
|
|
|
|
/**
|
|
* Crea una nuova riga collegata ad una ordine.
|
|
*
|
|
* @param Ordine $ordine
|
|
*
|
|
* @return self
|
|
*/
|
|
public static function make(Ordine $ordine)
|
|
{
|
|
$model = parent::make($ordine);
|
|
|
|
return $model;
|
|
}
|
|
}
|