/**
  * @return \yii\db\ActiveQuery
  */
 public function getAccountabilities()
 {
     return $this->hasMany(Accountability::className(), ['id' => 'accountability_id'])->viaTable(PositionTypeAccountability::tableName(), ['position_type_id' => 'id']);
 }
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getPositionTypeAccountabilities()
 {
     return $this->hasMany(PositionTypeAccountability::className(), ['accountability_id' => 'id']);
 }