public function getJtype() { return $this->hasOne(and_jobtype::className(), ['type_id' => 'type']); }