24 lines
401 B
PHP
24 lines
401 B
PHP
<?php
|
|
|
|
namespace App;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class VariationTemplate extends Model
|
|
{
|
|
/**
|
|
* The attributes that aren't mass assignable.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $guarded = ['id'];
|
|
|
|
/**
|
|
* Get the attributes for the variation.
|
|
*/
|
|
public function values()
|
|
{
|
|
return $this->hasMany(\App\VariationValueTemplate::class);
|
|
}
|
|
}
|