null], [['idEventoResumen', 'idDependencia'], 'integer'], [['clave'], 'string', 'max' => 50], [['idEventoResumen', 'idDependencia'], 'unique', 'targetAttribute' => ['idEventoResumen', 'idDependencia']], [['idDependencia'], 'exist', 'skipOnError' => true, 'targetClass' => Dependencia::class, 'targetAttribute' => ['idDependencia' => 'id']], [['idEventoResumen'], 'exist', 'skipOnError' => true, 'targetClass' => EventoResumen::class, 'targetAttribute' => ['idEventoResumen' => 'id']], ]; } /** * {@inheritdoc} */ public function attributeLabels() { return [ 'idEventoResumen' => 'Id Evento Resumen', 'idDependencia' => 'Id Dependencia', 'clave' => 'Clave', ]; } /** * Gets query for [[IdDependencia0]]. * * @return \yii\db\ActiveQuery */ public function getDependencia() { return $this->hasOne(Dependencia::class, ['id' => 'idDependencia']); } /** * Gets query for [[IdEventoResumen0]]. * * @return \yii\db\ActiveQuery */ public function getEventoResumen() { return $this->hasOne(EventoResumen::class, ['id' => 'idEventoResumen']); } }