251216:1644 Docunment Number: Update frontend/
Some checks failed
Spec Validation / validate-markdown (push) Has been cancelled
Spec Validation / validate-diagrams (push) Has been cancelled
Spec Validation / check-todos (push) Has been cancelled

This commit is contained in:
admin
2025-12-16 16:44:23 +07:00
parent 9c1e175b76
commit 95ee94997f
12 changed files with 1097 additions and 198 deletions

View File

@@ -0,0 +1,28 @@
// File: src/modules/document-numbering/dto/preview-number.dto.ts
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
export class PreviewNumberDto {
@ApiProperty({ description: 'Project ID' })
projectId!: number;
@ApiProperty({ description: 'Originator organization ID' })
originatorId!: number;
@ApiProperty({ description: 'Correspondence type ID' })
typeId!: number;
@ApiPropertyOptional({ description: 'Sub type ID (for TRANSMITTAL)' })
subTypeId?: number;
@ApiPropertyOptional({ description: 'RFA type ID (for RFA)' })
rfaTypeId?: number;
@ApiPropertyOptional({ description: 'Discipline ID' })
disciplineId?: number;
@ApiPropertyOptional({ description: 'Year (defaults to current)' })
year?: number;
@ApiPropertyOptional({ description: 'Recipient organization ID' })
recipientOrganizationId?: number;
}