示例#1
0
文件: Partner.php 项目: vsguts/crm
 public function getDonates()
 {
     return $this->hasMany(Donate::className(), ['partner_id' => 'id']);
 }