2024-06-24 20:58:23 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace app\model;
|
|
|
|
|
|
|
|
class Qas extends base
|
|
|
|
{
|
|
|
|
|
2024-06-27 19:53:53 +08:00
|
|
|
public function qaCitys()
|
|
|
|
{
|
|
|
|
return $this->hasOne(QaCitys::class,'city_id','city_id');
|
|
|
|
}
|
|
|
|
|
2024-06-28 17:30:56 +08:00
|
|
|
public function qaQuestions()
|
|
|
|
{
|
2024-07-01 11:25:55 +08:00
|
|
|
return $this->hasMany(QaQuestions::class,'qa_id','id');
|
2024-06-28 17:30:56 +08:00
|
|
|
}
|
|
|
|
|
2024-06-24 20:58:23 +08:00
|
|
|
}
|