<?php

namespace App;

use App\Traits\ModelTimeFormat;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations;
use App\Traits\ModelLogChanging;

class OracleDocOrderSerialNo extends Model
{
    use ModelLogChanging;
    use ModelLogChanging;
    use ModelTimeFormat;

    protected $connection="oracle";
    protected $table="Doc_Order_SerialNo";
    protected $primaryKey="SerialNo";
    public $timestamps=false;

    public function getIncrementing(){ return false;}

    public function actAllocationDetail(): Relations\HasOne
    {
        return $this->hasOne(OracleActAllocationDetails::class,'allocationdetailsid','allocationdetailsid');
    }
    //
}
