<?php

namespace App\Models\Hims;

use Illuminate\Support\Facades\DB;
use Yajra\Oci8\Eloquent\OracleEloquent as Model;
use Illuminate\Database\Eloquent\Factories\HasFactory;

// use Illuminate\Database\Eloquent\Model;

class WlAutuData extends Model
{
    use HasFactory;
    protected $connection = 'oracle';
    public $incrementing = false;
    public $timestamps = false;
    protected $guarded = [];
    public $sequence = null;
    protected $casts =[
        'time' => 'datetime',
    ];

    public function getTable()
    {
        return 'wl_auto_data';
        // return 'ORACLE_USER.STATION';
        // return DB::raw('STATION@TSSDB');
    }
}
