repalaced String to enum type in RfidTag