260318:1401 Fix UUID #05
Build and Deploy / deploy (push) Failing after 11m8s

This commit is contained in:
admin
2026-03-18 14:01:32 +07:00
parent ba642e7e42
commit e5769269a8
37 changed files with 460 additions and 328 deletions
@@ -3,16 +3,18 @@ import {
IsOptional,
IsString,
IsEnum,
IsNotEmpty,
IsUUID,
} from 'class-validator';
import { Type } from 'class-transformer';
import { TransmittalPurpose } from './create-transmittal.dto';
export class SearchTransmittalDto {
@IsInt()
@Type(() => Number)
@IsNotEmpty()
projectId!: number; // บังคับระบุ Project
@IsUUID('all')
@IsOptional()
projectUuid?: string; // ADR-019: Public UUID of the project
/** @internal Resolved INT ID — set by controller, do NOT expose in API */
projectId?: number;
@IsEnum(TransmittalPurpose)
@IsOptional()