Files
huangjingfen/pro_v3.5.1/app/model/agent/DivisionApply.php
panchengyong 7acbf45ff7 new files
2026-03-07 22:29:07 +08:00

36 lines
608 B
PHP

<?php
namespace app\model\agent;
use crmeb\basic\BaseModel;
use crmeb\traits\ModelTrait;
class DivisionApply extends BaseModel
{
use ModelTrait;
/**
* 数据表主键
* @var string
*/
protected $pk = 'id';
/**
* 模型名称
* @var string
*/
protected $name = 'division_apply';
/**
* 搜索器
* @param $query
* @param $value
* @author wuhaotian
* @email 442384644@qq.com
* @date 2024/8/21
*/
public function searchUidAttr($query, $value)
{
if ($value !== '') $query->where('uid', $value);
}
}