/**
  * @return \yii\db\ActiveQuery
  */
 public function getAcdscheduleprofessors()
 {
     return $this->hasMany(Acdscheduleprofessor::className(), ['professorid' => 'personid']);
 }
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getScheduleprofessor()
 {
     return $this->hasOne(Acdscheduleprofessor::className(), ['scheduleprofessorid' => 'scheduleprofessorid']);
 }