示例#1
0
文件: User.php 项目: grutabow/getyii
 public function getMerit()
 {
     return $this->hasOne(Merit::className(), ['user_id' => 'id']);
 }