I saw some ways around by creating class instead of enum in TypeScript then what are the option to map Java enum to classes in TypeScript