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.
21 lines
395 B
21 lines
395 B
<?php
|
|
|
|
namespace app\admin\model\shopro\goods;
|
|
|
|
use app\admin\model\shopro\Common;
|
|
|
|
class Sku extends Common
|
|
{
|
|
protected $name = 'shopro_goods_sku';
|
|
|
|
// 自动写入时间戳字段
|
|
protected $autoWriteTimestamp = false;
|
|
|
|
protected $append = [
|
|
];
|
|
|
|
public function children()
|
|
{
|
|
return $this->hasMany(self::class, 'parent_id');
|
|
}
|
|
}
|
|
|