'ID', 'mall_id' => 'Mall ID', 'banner_id' => '轮播图id', 'created_at' => 'Created At', 'deleted_at' => 'Deleted At', 'is_delete' => '删除', ]; } public function getBanner() { return $this->hasOne(Banner::className(), ['id' => 'banner_id']); } }