Converted BOFRecord types into an enum