'ID', 'mall_id' => 'Mall ID', 'coupon_id' => 'Coupon ID', 'member_level' => 'Member Level', 'created_at' => 'Created At', 'deleted_at' => 'Deleted At' ]; } public function getCoupon() { return $this->hasOne(Coupon::className(), ['id' => 'coupon_id']); } }