Skip to main content

foundation-utils.defaultserverrowdtomapper

Home > @genesislcap/foundation-utils > DefaultServerRowDTOMapper

DefaultServerRowDTOMapper class

The default ServerRowDTOMapper.

Signature:

export declare class DefaultServerRowDTOMapper implements ServerRowDTOMapper 

Implements: ServerRowDTOMapper

Properties

Property

Modifiers

Type

Description

fromDTO

(dto: ServerRowDTO) => ServerRowEntity

Converts a server row DTO to an entity.

toDTO

(entity: ServerRowEntity) => ServerRowDTO

Converts a server row entity to a DTO.