30], ]; } /** * {@inheritdoc} */ public function attributeLabels() { return [ 'id' => 'ID', 'user_id' => 'User ID', 'mall_id' => 'Mall ID', 'order_no' => 'Order No', 'pay_price' => 'Pay Price', 'pay_type' => 'Pay Type', 'is_pay' => 'Is Pay', 'pay_time' => 'Pay Time', 'detail' => 'Detail', 'created_at' => 'Created At', 'updated_at' => 'Updated At', 'deleted_at' => 'Deleted At', 'is_delete' => 'Is Delete', ]; } public function getUser() { return $this->hasOne(User::className(), ['id' => 'user_id']); } }