D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
forge
/
developers.ghanempharmacy.com
/
app
/
Models
/
Filename :
OfflinePayments.php
back
Copy
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Carbon; /** * Class YourModel * * @property int $id * @property int $order_id * @property string $payment_info * @property Carbon $created_at * @property Carbon $updated_at * * @package App\Models */ class OfflinePayments extends Model { use HasFactory; protected $guarded = ['id']; /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'order_id', 'payment_info', ]; /** * The attributes that should be cast. * * @var array */ protected $casts = [ 'payment_info' => 'json', ]; }