125], [['value', 'data'], 'string', 'max' => 255], ]; } /** * {@inheritdoc} */ public function attributeLabels() { return [ 'id' => 'ID', 'merchant_id' => '商户id', 'product_id' => '商品编码', 'title' => '参数名称', 'value' => '参数值', 'type' => '属性对应输入类型1.直接2.单选3.多选', 'sort' => '排序', 'data' => 'Data', 'status' => '状态(-1:已删除,0:禁用,1:正常)', 'created_at' => '创建时间', 'updated_at' => '修改时间', ]; } }