251128:1700 Backend to T3.1.1

This commit is contained in:
admin
2025-11-28 17:12:05 +07:00
parent b22d00877e
commit f7a43600a3
50 changed files with 4891 additions and 2849 deletions

View File

@@ -0,0 +1,19 @@
// File: src/modules/json-schema/dto/migrate-data.dto.ts
import { IsString, IsNotEmpty, IsInt, IsOptional } from 'class-validator';
import { ApiProperty } from '@nestjs/swagger';
export class MigrateDataDto {
@ApiProperty({ description: 'The schema code to migrate to (e.g., RFA_DWG)' })
@IsString()
@IsNotEmpty()
targetSchemaCode!: string;
@ApiProperty({
description: 'Target version. If omitted, migrates to latest.',
required: false,
})
@IsInt()
@IsOptional()
targetVersion?: number;
}