50], [['content'], 'string', 'max' => 255], ]; } /** * {@inheritdoc} */ public function attributeLabels() { return [ 'id' => 'ID', 'merchant_id' => '商户id', 'store_id' => '店铺ID', 'rule_id' => '规则ID', 'module' => '模块名', 'content' => '内容', 'type' => '类别', 'sort' => '优先级', 'status' => '状态[-1:删除;0:禁用;1启用]', ]; } }