예제 #1
0
파일: Gold.php 프로젝트: wuwenhan/huoqiwang
 public function getUser()
 {
     return $this->hasOne(UcenterMember::className(), ['id' => 'uid']);
 }
예제 #2
0
 public function getTypemaxUser()
 {
     return $this->hasOne(UcenterMember::className(), ['id' => 'maxcreditor']);
 }