'state' annot. changed to @Enumerated