2021-06-30 04:00:41 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Models;
|
|
|
|
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
2023-05-04 12:17:42 +00:00
|
|
|
use Leenooks\Traits\ScopeActive;
|
2021-06-30 04:00:41 +00:00
|
|
|
|
|
|
|
class Group extends Model
|
|
|
|
{
|
2023-05-04 12:17:42 +00:00
|
|
|
use HasFactory, ScopeActive;
|
|
|
|
|
|
|
|
/* SCOPES */
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function scopePricing()
|
|
|
|
{
|
|
|
|
return $this->where('pricing',TRUE);
|
|
|
|
}
|
2021-06-30 04:00:41 +00:00
|
|
|
}
|