<?php

namespace App\Models\bundles;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class Data_Bundles_TopUp extends Model
{
    protected $connection = 'mysql_temp';
    protected $table = 'data_budles_topup';
    public $primaryKey = 'data_topup_id';
    public $timestamps = false;
    protected  $fillable = [
        'data_topup_id',
        'ShopID',
        'contact',
        'customer',
        'qnty',
        'unit',
        'ime',
    ];
    // contact <>  group relationship
    public function TailMessageShop()
    {
        return $this->belongTo(\App\Models\atmodels\Shop::class, 'ShopID');
    }
}
