[WIP] Fix on prices & attributes
This commit is contained in:
@@ -6,6 +6,9 @@ use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class ArticleAttribute extends Model
|
||||
{
|
||||
protected $guarded = ['id'];
|
||||
protected $table = 'shop_article_attribute_attributes';
|
||||
|
||||
public function Price()
|
||||
{
|
||||
return $this->belongsTo('App\Models\Shop\ArticlePrice');
|
||||
|
||||
@@ -7,6 +7,7 @@ use Illuminate\Database\Eloquent\Model;
|
||||
class ArticlePrice extends Model
|
||||
{
|
||||
protected $guarded = ['id'];
|
||||
protected $table = 'shop_article_prices';
|
||||
|
||||
public function Article()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user