79757458

Date: 2025-09-06 09:39:51
Score: 1.5
Natty:
Report link

Stick with @Enumerated(EnumType.STRING). The values (PENDING_REVIEW, APPROVED, REJECTED) are stable and not business-configurable. Renames can be handled via a one-time DB migration if it ever happens. The extra complexity of lookup tables or converters isn’t worth it unless requirements change.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Tejasmita