ef20839f99
Phase 1-2: Setup, SQL schema, enums, queue constants, base entities
Phase 3 (US1): ReviewTeam, ReviewTeamMember, ReviewTask, TaskCreationService
Phase 4 (US2): ResponseCode, ResponseCodeRule, ImplicationsService, NotificationTriggerService
Phase 5 (US3): Delegation entity, CircularDetectionService, DelegationService/Controller/Module
Phase 6 (US4): ReminderRule, SchedulerService, EscalationService, ReminderProcessor, ReminderModule
Phase 7 (US5): DistributionMatrix, DistributionRecipient, ApprovalListenerService (Strangler),
TransmittalCreatorService, DistributionProcessor, DistributionModule
Phase 8 (US6): MatrixManagementService, InheritanceService (global→project override)
Phase 9 (Polish): AggregateStatusService, ConsensusService, VetoOverrideService,
ParallelGatewayHandler, review-validators, optimistic locking in completeReview,
test stubs (unit/integration/e2e), jest.config.js updated for tests/ directory
Frontend: ReviewTaskInbox, ParallelProgress, VetoOverrideDialog, DelegationForm,
DelegatedBadge, MatrixEditor, ProjectOverrideManager, DistributionStatus,
ReminderHistory, ResponseCodeSelector, CodeImplications, CompleteReviewForm,
ReviewTeamForm, ReviewTeamSelector, TeamMemberManager
Closes #1
23 lines
643 B
TypeScript
23 lines
643 B
TypeScript
// File: src/modules/rfa/dto/submit-rfa.dto.ts
|
|
import { ApiProperty } from '@nestjs/swagger';
|
|
import { IsInt, IsNotEmpty, IsOptional, IsUUID } from 'class-validator';
|
|
|
|
export class SubmitRfaDto {
|
|
@ApiProperty({
|
|
description: 'ID ของ Routing Template ที่จะใช้เดินเรื่อง',
|
|
example: 1,
|
|
})
|
|
@IsInt()
|
|
@IsNotEmpty()
|
|
templateId!: number;
|
|
|
|
@ApiProperty({
|
|
description: 'publicId ของ Review Team สำหรับ Parallel Review (ADR-019)',
|
|
example: '019505a1-7c3e-7000-8000-abc123def456',
|
|
required: false,
|
|
})
|
|
@IsOptional()
|
|
@IsUUID()
|
|
reviewTeamPublicId?: string;
|
|
}
|