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

23 lines
581 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
namespace app\common\model\wms;
use think\Model;
class Express extends Model
{
protected $connection = 'db_wms';
// 表名
protected $name = 'express';
// 自动写入时间戳字段
protected $autoWriteTimestamp = false;
// 定义时间戳字段名
protected $createTime = false;
protected $updateTime = false;
public function store()//yewu为第一张表的字段,employee_num为第二张表的字段
{
return $this->belongsTo('app\common\model\wms\Store', 'STOREID', 'STOREID', [], 'LEFT')->setEagerlyType(0);
}
}