public function parseEntity(Card $entity) {

        $output = [
            $this->encodeString($entity->getTicketNumber(), 23),
            $this->encodeInteger($entity->getUserNumber(), 9),
            $this->encodeInteger($entity->getArticleNumber(), 3),
            $this->encodeDate($entity->getValidFrom()),
            $this->encodeDate($entity->getExpires()),
            $this->encodeBoolean($entity->getBlocked()),
            $this->encodeDate($entity->getBlockedDate()),
            $this->encodeInteger($entity->getProductionState(), 1),
            $this->encodeInteger($entity->getReasonProduction(), 1),
            $this->encodeInteger($entity->getProductionCounter(), 4),
            $this->encodeBoolean($entity->getNeutral()),
            $this->encodeBoolean($entity->getRetainTicketEntry()),
            $this->encodeBoolean($entity->getEntryBarrierClosed()),
            $this->encodeBoolean($entity->getExitBarrierClosed()),
            $this->encodeBoolean($entity->getRetainTicketExit()),
            $this->encodeBoolean($entity->getDisplayText()),
            $this->encodeString($entity->getDisplayText1(), 16),
            $this->encodeString($entity->getDisplayText2(), 16),
            $this->encodeInteger($entity->getPersonnalNo(), 4),
            $this->encodeInteger($entity->getResidualValue(), 12),
            $this->encodeString($entity->getSerialNumberKeyCardSwatch(), 20),
            $this->encodeString($entity->getCurrencyResidualValue(), 3),
            $this->encodeInteger($entity->getTicketType(), 1),
            $this->encodeString($entity->getTicketSubType(), 5),
            $this->encodeString($entity->getSerialNo(), 30),
            $this->encodeDate($entity->getSuspendPeriodFrom()),
            $this->encodeDate($entity->getSuspendPeriodUntil()),
            $this->encodeBoolean($entity->getUseValidCarParks()),
            $this->encodeInteger($entity->getProductionFacilityNumber(), 7),
        ];

        return implode(";", $output);
    }