public function getTypebrg() { return $this->hasOne(Tipebarang::className(), ['KD_TYPE' => 'KD_TYPE']); }