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

45 lines
587 B
PHP

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