OracleInvLotLocId.php 627 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. namespace App;
  3. use Illuminate\Database\Eloquent\Model;
  4. /**
  5. * DB: FLUX/WMS_USER
  6. * TABLE: INV_LOT_LOC_ID
  7. * EXPLAIN: 库存状态
  8. */
  9. use App\Traits\ModelLogChanging;
  10. class OracleInvLotLocId extends Model
  11. {
  12. use ModelLogChanging;
  13. protected $connection="oracle";
  14. protected $table="INV_LOT_LOC_ID";
  15. /*
  16. * column: ADDTIME 发生时间
  17. * QTY 在库数量
  18. * QtyAllocated 占用数量
  19. * */
  20. public function oracleInvLotAtt(): \Illuminate\Database\Eloquent\Relations\BelongsTo
  21. {
  22. return $this->belongsTo(OracleInvLotAtt::class,'lotnum','lotnum');
  23. }
  24. }