LD 5 лет назад
Родитель
Сommit
bb0f057f83
2 измененных файлов с 25 добавлено и 0 удалено
  1. 12 0
      app/OracleDocOrderPackingSummary.php
  2. 13 0
      app/OracleIdxAsrsReceive.php

+ 12 - 0
app/OracleDocOrderPackingSummary.php

@@ -0,0 +1,12 @@
+<?php
+
+namespace App;
+
+use Illuminate\Database\Eloquent\Model;
+
+class OracleDocOrderPackingSummary extends Model
+{
+    protected $connection="oracle";
+    protected $primaryKey="ORDERNO";
+    public $timestamps=false;
+}

+ 13 - 0
app/OracleIdxAsrsReceive.php

@@ -0,0 +1,13 @@
+<?php
+
+namespace App;
+
+use Illuminate\Database\Eloquent\Model;
+
+class OracleIdxAsrsReceive extends Model
+{
+    protected $connection="oracle";
+    protected $primaryKey="ORDERNO";
+    protected $timestamps=false;
+    public function getIncrementing(){ return false;}
+}