import { ValidateNested } from 'class-validator' import { Type } from 'class-transformer' import { AccountCashTransfersAttributes } from '../AccountCashTransfersAttributes' export class CashTransferData { type?: string // 'account-cash-transfers' @ValidateNested() @Type(() => AccountCashTransfersAttributes) attributes: AccountCashTransfersAttributes }