| 12345678910111213141516171819202122232425262728293031 |
- <?php
- namespace App;
- use Illuminate\Database\Eloquent\Model;
- /**
- * DB: FLUX/WMS_USER
- * TABLE: INV_LOT_LOC_ID
- * EXPLAIN: 库存状态
- */
- use App\Traits\ModelLogChanging;
- class OracleInvLotLocId extends Model
- {
- use ModelLogChanging;
- protected $connection="oracle";
- protected $table="INV_LOT_LOC_ID";
- /*
- * column: ADDTIME 发生时间
- * QTY 在库数量
- * QtyAllocated 占用数量
- * */
- public function oracleInvLotAtt(): \Illuminate\Database\Eloquent\Relations\BelongsTo
- {
- return $this->belongsTo(OracleInvLotAtt::class,'lotnum','lotnum');
- }
- }
|