| Current Path : /home/users/unlimited/www/api.xalonx.com/app/Models/ |
| Current File : /home/users/unlimited/www/api.xalonx.com/app/Models/Appointments.php |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Appointments extends Model
{
use HasFactory;
protected $table = 'appointments';
public $timestamps = true; //by default timestamp false
protected $fillable = [
'uid',
'freelancer_id',
'salon_id',
'specialist_id',
'appointments_to',
'address',
'items',
'coupon_id',
'coupon',
'discount',
'distance_cost',
'total',
'serviceTax',
'grand_total',
'pay_method',
'paid',
'save_date',
'slot',
'wallet_used',
'wallet_price',
'notes',
'status',
'extra_field'
];
protected $hidden = [
'updated_at',
];
protected $casts = [
'status' => 'integer',
];
}