<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class DGService extends Model
{
    // ✅ আপনার টেবিল নাম dg_services (Laravel default d_g_services না)
    protected $table = 'dg_services';

    protected $fillable = [
        'title',
        'photo',
        'description',
        'price',
        'cashback',
        'validity',
        'sms_body',
        'status',
        'upline_commissions',
    ];

    protected $casts = [
        'upline_commissions' => 'array',
    ];
}