mirror of
https://github.com/Bigherollc/wticreatorstudio.git
synced 2026-07-31 05:16:49 -04:00
20 lines
374 B
PHP
20 lines
374 B
PHP
<?php
|
|
|
|
namespace Modules\GST\Entities;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Modules\Product\Entities\Product;
|
|
|
|
class GSTGroup extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
protected $guarded = ['id'];
|
|
|
|
public function products(){
|
|
return $this->hasMany(Product::class, 'gst_group_id', 'id');
|
|
}
|
|
|
|
}
|