Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
662 B
3
Indexable
Never
import { ApiResponseProperty } from "@nestjs/swagger";
import { InvoiceManualInputDto } from "./invoice-manual-input.dto";


export class InvoiceManualResultDto {
  /**
   * Factura manual
   */
  @ApiResponseProperty({ type: InvoiceManualInputDto })
  invoice: InvoiceManualInputDto;
  /**
   * Id registro base datos encf
   */
  @ApiResponseProperty()
  encfId?: number;

  /**
   * Numero documento (ENCF)
   */
  @ApiResponseProperty()
  docNum?: string;
  /**
   * Mensajes y alertas
   */
  @ApiResponseProperty({ type: typeof { info: [], warn: [] } })
  messages: { info: string[], warn: string[] } = { info: [], warn: [] };
}