Add new version in repository

This commit is contained in:
Ludovic CANDELLIER
2021-07-25 23:19:27 +02:00
parent f75632b054
commit b879f11c99
608 changed files with 12235 additions and 7513 deletions

26
app/Models/Shop/Offer.php Normal file
View File

@@ -0,0 +1,26 @@
<?php
namespace App\Models\Shop;
use Illuminate\Database\Eloquent\Model;
class Offer extends Model
{
protected $guarded = ['id'];
protected $table = 'shop_offers';
public function article()
{
return $this->belongsTo('App\Models\Shop\Article');
}
public function variation()
{
return $this->belongsTo('App\Models\Shop\Variation');
}
public function tariff()
{
return $this->belongsTo('App\Models\Shop\Tariff');
}
}