2023-11-22 11:55:45 +08:00
|
|
|
<?php
|
2023-11-22 18:11:03 +08:00
|
|
|
|
|
|
|
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';
|
2023-11-23 11:13:45 +08:00
|
|
|
|
|
|
|
public function User()
|
|
|
|
{
|
|
|
|
return $this->hasOne(\app\common\model\user\User::class, 'id', 'user_id');
|
|
|
|
}
|
2023-11-22 18:11:03 +08:00
|
|
|
|
2023-11-22 18:12:41 +08:00
|
|
|
}
|