suyuan-breed/app/common/model/land/Land.php

23 lines
340 B
PHP
Raw Normal View History

2024-01-09 15:59:23 +08:00
<?php
namespace app\common\model\land;
use app\common\model\BaseModel;
/**
* Land模型
* Class Land
* @package app\common\model\land
*/
class Land extends BaseModel
{
protected $name = 'land';
public function User()
{
return $this->hasOne(\app\common\model\user\User::class, 'id', 'user_id');
}
}