Example #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getCouponType()
 {
     return $this->hasOne(CouponType::className(), ['id' => 'coupon_type_id']);
 }