예제 #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getChitiethoadons()
 {
     return $this->hasMany(Chitiethoadon::className(), ['id_sanpham' => 'id_sanpham']);
 }
예제 #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getChitiethoadons()
 {
     return $this->hasMany(Chitiethoadon::className(), ['hoadon_id' => 'hoadon_id']);
 }