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/Area.php

19 lines
319 B

<?php
namespace app\admin\model\shopro\data;
use app\admin\model\shopro\Common;
class Area extends Common
{
protected $autoWriteTimestamp = false;
// 表名
protected $name = 'shopro_data_area';
public function children()
{
return $this->hasMany(self::class, 'pid', 'id');
}
}