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

23 lines
340 B
PHP
Raw Normal View History

<?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
}