<?php

namespace App\Models;

use CodeIgniter\Model;

class BookingModel extends Model
{
    protected $table = 'bookings';
    protected $primaryKey = 'id';
    protected $allowedFields = ['user_id', 'booking_type', 'item_id', 'status', 'total_amount'];
    protected $useTimestamps = true;
    protected $createdField  = 'booking_date';
    protected $updatedField  = 'updated_at';
}
