Add Compoships for multile key relationships, first implemented with Service::class
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Awobaz\Compoships\Compoships;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Support\Arr;
|
||||
|
||||
@@ -16,7 +17,7 @@ use App\Traits\SiteID;
|
||||
*/
|
||||
class Charge extends Model
|
||||
{
|
||||
use SiteID;
|
||||
use Compoships,SiteID;
|
||||
|
||||
protected $casts = [
|
||||
'attributes' => 'json',
|
||||
|
Reference in New Issue
Block a user