Example #1
0
 public function getCoAppApplicant()
 {
     return $this->hasOne(AppApplicant::className(), ['id_application' => 'id_application'])->where(['id_app_applicant_type' => 2]);
 }
Example #2
0
 public function getAppApplicants()
 {
     return $this->hasMany(AppApplicant::className(), ['id_application' => 'id_application']);
 }
Example #3
0
 public function getClient()
 {
     return $this->hasOne(AppApplicant::className(), ['id_user' => 'id_user']);
 }