ok

Mini Shell

Direktori : /home2/selectio/www/3-idiots/app/Model/
Upload File :
Current File : //home2/selectio/www/3-idiots/app/Model/SellerWallet.php

<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class SellerWallet extends Model
{
    protected $casts = [
        'total_earning' => 'float',
        'withdrawn' => 'float',
        'commission_given' => 'float',
        'pending_withdraw' => 'float',
        'delivery_charge_earned' => 'float',
        'collected_cash' => 'float',
        'total_tax_collected' => 'float',
        'created_at' => 'datetime',
        'updated_at' => 'datetime',
    ];

    public function seller()
    {
        return $this->belongsTo(Seller::class);
    }
}

Zerion Mini Shell 1.0