belongsTo(m_asset::class, 'asset_id'); } public function warehouse() { return $this->belongsTo(m_warehouse::class, 'exit_warehouse'); } public function peti() { return $this->belongsTo(Peti::class, 'peti_id'); } public function tipe_peti() { return $this->belongsTo(Type_peti::class, 'type'); } public function customer() { return $this->belongsTo(Customer::class, 'customer_id'); } }