attr_id) && !is_string($this->attr_id)){ $this->addError('attr_id', 'attr_id type error'); } } /** * @inheritdoc */ public function attributeLabels() { return [ 'id' => 'ID', 'cloud_goods_id' => '云仓商品id', 'cloud_attr_id' => '云仓商品属性id', 'cloud_supplier_id' => '云仓供货商id', 'store_id' => '店铺id', 'goods_id' => '云联储商品id', 'attr_id' => '云联储商品属性id', 'is_delete' => 'Is Delete', 'created_at' => 'Addtime', ]; } }