30], [['third_order_no'], 'string', 'max' => 50], [['last_req'], 'string', 'max' => 255], [['last_resp'], 'string'] ]; } /** * {@inheritdoc} */ public function attributeLabels() { return [ 'id' => 'ID', 'mall_id' => 'Mall ID', 'created_at' => 'Created At', 'updated_at' => 'Updated At', 'status' => 'Status', 'order_id' => 'Order ID', 'order_no' => 'Order No', 'third_order_no' => 'Third Order No', 'content' => 'Content', ]; } public function getOrder() { return $this->hasOne(Order::class, ['id' => 'order_id']); } public function getMall() { return $this->hasOne(Mall::class, ['id' => 'mall_id']); } }