You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
ymww_backend/application/admin/model/shopro/data/Page.php

21 lines
351 B

<?php
namespace app\admin\model\shopro\data;
use app\admin\model\shopro\Common;
class Page extends Common
{
// 表名
protected $name = 'shopro_data_page';
// 追加属性
protected $append = [
];
public function children()
{
return $this->hasMany(self::class, 'group', 'group')->order('id asc');
}
}