travel/service/app/model/Users.php

8 lines
153 B
PHP

<?php
namespace app\model;
class Users extends base{
public function tourists (){
return $this->hasMany(UsersTourists::class,"uid");
}
}