null], [['idNotificacionCorreo'], 'integer'], [['ruta'], 'string', 'max' => 255], [['idNotificacionCorreo'], 'exist', 'skipOnError' => true, 'targetClass' => NotificacionCorreo::class, 'targetAttribute' => ['idNotificacionCorreo' => 'id']], ]; } /** * {@inheritdoc} */ public function attributeLabels() { return [ 'id' => 'ID', 'idNotificacionCorreo' => 'Id Notificacion Correo', 'ruta' => 'Ruta', ]; } /** * Gets query for [[IdNotificacionCorreo0]]. * * @return \yii\db\ActiveQuery */ public function getNotificacionCorreo() { return $this->hasOne(NotificacionCorreo::class, ['id' => 'idNotificacionCorreo']); } }