ts-data-mapper
A typescript mapping tool supports mutual transforming between domain model and orm entity. In most case, domain model is not fully compatible with orm entity. you may need a mapping tool to convert model to entity when persisting and convert it back when