Open milesressler opened 1 month ago
thinking through this some more.... Cancelled should have some pre-defined reasons, and an Other types, which allows free form. In the order history entity, we can have a subclass for OrderHistoryCancellation type using single table inheritance (https://www.baeldung.com/hibernate-inheritance#single-table), or just some optional fields on the main OrderHistory type.
This is primarily for Cancelled to indicate why it was cancelled