You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
509 B
26 lines
509 B
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class DeliveryManWallet extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*
|
|
* @var array
|
|
*/
|
|
|
|
protected $casts = [
|
|
'collected_cash' => 'float',
|
|
'total_earning' => 'float',
|
|
'total_withdrawn' => 'float',
|
|
'pending_withdraw' => 'float',
|
|
];
|
|
|
|
protected $fillable = ['delivery_man_id'];
|
|
}
|
|
|