import { IDto } from '../../shared/interfaces/dto.interface' ; import { AccountIdRequestMessage } from '@btcp/bootcamp-blogic' ; export class AccountIdDto implements IDto { public id : string ; static create ( id ) { const dto = new AccountIdDto ( ) ; dto . id = id ; return dto ; } static toMessage ( dto ) { return { accountId : dto . id } as AccountIdRequestMessage ; } }