Add parent-child hierarchy support to SaleType enum

Featurekamo-shared-library
Shipped
December 3, 2025 at 6:55 PM UTC
Author
snadjafinia
Commit
ff48472

- Added RESIDENTIAL_MORTGAGE, COMMERCIAL_MORTGAGE, SERVICE_CUSTOM as children of SERVICE - Added PRODUCT_CUSTOM as child of PRODUCT - Added helper methods: getParent(), hasParent(), isParent(), getChildren() - Updated enum codes to use ranges (2000+ for SERVICE, 3000+ for PRODUCT)

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing