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