I'm not sure about this one as your WorkOrderId is not abstract. By adding though an empty concrete class which extends your WorkOrderId I'm pretty sure it will.