feat: add generated code

This commit is contained in:
aid-orchestrator
2026-04-25 13:53:55 +00:00
parent 011fbe8ef3
commit c05e6941b3
119 changed files with 2989 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
import { Type } from 'class-transformer';
import { IsString, IsNotEmpty, IsISO8601, IsOptional, IsBoolean } from 'class-validator';
import { ApiProperty } from '@nestjs/swagger';
export class CreateConfirmationDocumentDto {
@ApiProperty({ required: false, description: 'Номер' })
@IsString()
@IsOptional()
number?: string;
@ApiProperty({ description: 'Дата согласования' })
@IsISO8601()
@Type(() => Date)
date: Date;
@ApiProperty({ description: 'Код руководителя' })
@IsString()
@IsNotEmpty()
managerCode: string;
@ApiProperty({ description: 'Идентификатор заявки' })
@IsString()
@IsNotEmpty()
orderId: string;
@ApiProperty({ required: false, description: 'Согласовано/Не согласовано' })
@IsBoolean()
@IsOptional()
confirmed?: boolean;
}