예제 #1
0
 /**
  * Speciment-to-Type relation
  */
 public function getType()
 {
     return $this->hasOne(TestType::className(), ['id' => 'id_type']);
 }