Typo3 can’t get values from DataBase

Typo3 10.4
I created Models, Repositories and Controller. Values are getting written from the backend into the database but I can’t get a bunch of values to the frontend. It’s not all values that don’t work but some.

class Element extends TYPO3CMSExtbaseDomainObjectAbstractEntity
{
    protected $type = "";
    protected $name = "";
    protected $beschreibung = "";
    protected $customRender = "";
    protected $mehrHtml = "";
    protected $formsUsingThisElement = "";

    public function __construct(string $type='', string $name='', string $beschreibung = '', string $customRender = '') {
        $this->setType($type);
        $this->setName($name);
        $this->setBeschreibung($beschreibung);
        $this->setCustomRender($customRender);
    }

    public function setType(string $type):void {
        $this->type = $type;
    }
    public function getType():string {
        return $this->type;
    }

    public function setName(string $name):void {
        $this->name = $name;
    }
    public function getName():string {
        return $this->name;
    }

    public function setBeschreibung(string $beschreibung):void {
        $this->beschreibung = $beschreibung;
    }
    public function getBeschreibung():string {
        return $this->beschreibung;
    }

    public function setCustomRender(string $customRender):void {
        $this->customRender = $customRender;
    }
    public function getCustomRender():string {
        return $this->customRender;
    }

    public function setMehrHtml(string $mehrHtml) {
        $this->mehrHtml = $mehrHtml;
    }
    public function getMehrHtml() {
        return $this->mehrHtml;
    }

    public function setFormsUsingThisElement(string $formsUsingThisElement):void {
        $this->formsUsingThisElement = $formsUsingThisElement;
    }
    public function getFormsUsingThisElement(): string {
        return $this->formsUsingThisElement;
    }
}

Both $mehrHtml and $customRender actually have values but I can only get the other variables from the database.
While $type is of type select, $name and $beschreibung are of types input the two variables which I can not get the value of are config.type=’text’ in the TCA. But that shouldn’t matter as I got another model which holds a text which is readable but an integer which I, too, can not get the value.

enter image description here