<?php

namespace App\Models;

use CodeIgniter\Model;

class TrainStationsModel extends Model
{
    protected $table      = 'Train_Stations';
    protected $primaryKey = 'Station_Code';

    protected $useAutoIncrement = false; // 'Station_Code' is NOT auto-increment
    protected $returnType    = 'array';  // You can set to 'object' if you prefer
    protected $useSoftDeletes = false;

    protected $allowedFields = [
        'Station_Name',
        'Station_Code',
        'is_active',
    ];


}
