提交其他文件
This commit is contained in:
15
app/common/model/teamaster/TeamasterCollect.php
Normal file
15
app/common/model/teamaster/TeamasterCollect.php
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace app\common\model\teamaster;
|
||||
|
||||
use app\common\model\BaseModel;
|
||||
|
||||
class TeamasterCollect extends BaseModel
|
||||
{
|
||||
public function teamaster()
|
||||
{
|
||||
return $this->hasMany('teamaster', 'id', 'teamaster_id')
|
||||
->where("del",0)
|
||||
->where('status', 1);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user