Ecto Enum display issue

Thanks for the feedback. What’s the best way to keep db representation separate from frontend representation for Enums (will you store the mapping as a map and use it on front end to map it) or is there any other way?