liufumingren e8605149c0 初始化
2026-08-06 17:04:35 +08:00

45 lines
581 B
PHP

<?php
namespace app\common\model\supplier;
use think\Model;
class Goods extends Model
{
// 表名
protected $name = 'supplier_goods';
// 自动写入时间戳字段
protected $autoWriteTimestamp = false;
// 定义时间戳字段名
protected $createTime = false;
protected $updateTime = false;
protected $deleteTime = false;
// 追加属性
protected $append = [
];
public function lists()
{
return $this->belongsTo('Lists', 'pid', 'id', [], 'LEFT')->setEagerlyType(0);
}
}