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

View File

@@ -6,21 +6,21 @@ use Illuminate\Database\Eloquent\Model;
class Customer extends Model
{
protected $guarded = ['id'];
protected $table = 'shop_customers';
public function Invoices()
{
return $this->hasMany('App\Models\Shop\Invoice');
}
protected $guarded = ['id'];
protected $table = 'shop_customers';
public function Invoices()
{
return $this->hasMany('App\Models\Shop\Invoice');
}
public function Orders()
{
return $this->hasMany('App\Models\Shop\Order');
}
public function Orders()
{
return $this->hasMany('App\Models\Shop\Order');
}
public function User()
{
return $this->belongsTo('App\User');
}
}
public function User()
{
return $this->belongsTo('App\User');
}
}