mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-20 13:31:04 +01:00
22 lines
428 B
PHP
22 lines
428 B
PHP
|
<?php
|
||
|
|
||
|
namespace Modules\AttributiCombinazioni;
|
||
|
|
||
|
use Common\SimpleModelTrait;
|
||
|
use Illuminate\Database\Eloquent\Model;
|
||
|
use Illuminate\Database\Eloquent\SoftDeletes;
|
||
|
|
||
|
class Attributo extends Model
|
||
|
{
|
||
|
use SimpleModelTrait;
|
||
|
use SoftDeletes;
|
||
|
|
||
|
protected $table = 'mg_attributi';
|
||
|
|
||
|
/* Relazioni Eloquent */
|
||
|
public function valori()
|
||
|
{
|
||
|
return $this->hasMany(ValoreAttributo::class, 'id_attributo');
|
||
|
}
|
||
|
}
|