251124:1700 Ready to Phase 7
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
// File: src/modules/workflow-engine/dto/get-available-actions.dto.ts
|
||||
import { IsString, IsNotEmpty } from 'class-validator';
|
||||
import { ApiProperty } from '@nestjs/swagger';
|
||||
|
||||
export class GetAvailableActionsDto {
|
||||
@ApiProperty({ description: 'รหัส Workflow', example: 'RFA' })
|
||||
@IsString()
|
||||
@IsNotEmpty()
|
||||
workflow_code!: string; // เพิ่ม !
|
||||
|
||||
@ApiProperty({ description: 'สถานะปัจจุบัน', example: 'DRAFT' })
|
||||
@IsString()
|
||||
@IsNotEmpty()
|
||||
current_state!: string; // เพิ่ม !
|
||||
}
|
||||
Reference in New Issue
Block a user