Files
opensem/app/Models/Shop/ArticlePrice.php
2020-07-26 16:51:45 +02:00

22 lines
418 B
PHP

<?php
namespace App\Models\Shop;
use Illuminate\Database\Eloquent\Model;
class ArticlePrice extends Model
{
protected $guarded = ['id'];
protected $table = 'shop_article_prices';
public function article_attribute()
{
return $this->belongsTo('App\Models\Shop\ArticleAttribute');
}
public function article()
{
return $this->belongsTo('App\Models\Shop\Article');
}
}