<?php

namespace App\Models;
use CodeIgniter\Model;

class LibraryTeamModel extends Model
{
    protected $table = 'library_team';  // Make sure this matches your actual DB table name exactly
    protected $primaryKey = 'id';

    protected $allowedFields = [
        'name', 'designation', 'small_description', 'image', 'email',
        'created_at', 'updated_at', 'row_status'
    ];

    // Enable automatic timestamps for created_at and updated_at
    protected $useTimestamps = true;
    protected $createdField  = 'created_at';
    protected $updatedField  = 'updated_at';
}

?>
