50], [['tree'], 'string', 'max' => 500], ]; } /** * {@inheritdoc} */ public function attributeLabels() { return [ 'id' => '主键', 'merchant_id' => '商户id', 'title' => '标题', 'sort' => '排序', 'level' => '级别', 'pid' => '上级', 'tree' => '树', 'status' => '状态', 'created_at' => '创建时间', 'updated_at' => '更新时间', ]; } }