Fixes on prices & add ArticlePriceGeneric
This commit is contained in:
20
app/Models/Shop/ArticlePriceGeneric.php
Normal file
20
app/Models/Shop/ArticlePriceGeneric.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\Shop;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Znck\Eloquent\Traits\BelongsToThrough;
|
||||
|
||||
class ArticlePriceGeneric extends Model
|
||||
{
|
||||
use BelongsToThrough;
|
||||
|
||||
protected $guarded = ['id'];
|
||||
protected $table = 'shop_article_price_generics';
|
||||
|
||||
public function article_prices()
|
||||
{
|
||||
return $this->hasMany('App\Models\Shop\ArticlePrice');
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user