File

apps/recallassess/recallassess-api/src/api/integration/dto/integration-pre-bat-group-analysis.dto.ts

Description

DTO for pre-bat-group-analysis endpoint POST /api/integration/cr/pre-bat-group-analysis

Index

Properties

Properties

analysis
Type : string
Decorators :
@Expose()
@ApiProperty({example: 'Text for analysis', description: 'Analysis text content'})
@IsString()
@IsNotEmpty()
course_code
Type : string
Decorators :
@Expose()
@ApiProperty({example: 'ABC', description: 'Course code'})
@IsString()
@IsNotEmpty()
learning_group_id
Type : number
Decorators :
@Expose()
@ApiProperty({example: 123, description: 'Learning group ID'})
@IsInt()
@IsNotEmpty()
import { ApiProperty } from "@nestjs/swagger";
import { IsInt, IsNotEmpty, IsString } from "class-validator";
import { Exclude, Expose } from "class-transformer";

/**
 * DTO for pre-bat-group-analysis endpoint
 * POST /api/integration/cr/pre-bat-group-analysis
 */
@Exclude()
export class IntegrationPreBatGroupAnalysisDto {
  @Expose()
  @ApiProperty({ example: 123, description: "Learning group ID" })
  @IsInt()
  @IsNotEmpty()
  learning_group_id!: number;

  @Expose()
  @ApiProperty({ example: "ABC", description: "Course code" })
  @IsString()
  @IsNotEmpty()
  course_code!: string;

  @Expose()
  @ApiProperty({ example: "Text for analysis", description: "Analysis text content" })
  @IsString()
  @IsNotEmpty()
  analysis!: string;
}

results matching ""

    No results matching ""