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

@@ -0,0 +1,22 @@
<?php
namespace App\Models\Shop;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use Wildside\Userstamps\Userstamps;
use Staudenmeir\EloquentHasManyDeep\HasRelationships;
class ArticleNature extends Model
{
use HasRelationships, SoftDeletes, UserStamps;
protected $guarded = ['id'];
protected $table = 'shop_article_natures';
public function articles()
{
return $this->hasMany('App\Models\Shop\Article');
}
}