apps/recallassess/recallassess-api/src/api/integration/dto/integration-pre-bat-group-analysis.dto.ts
DTO for pre-bat-group-analysis endpoint POST /api/integration/cr/pre-bat-group-analysis
Properties |
| analysis |
Type : string
|
Decorators :
@Expose()
|
| course_code |
Type : string
|
Decorators :
@Expose()
|
| learning_group_id |
Type : number
|
Decorators :
@Expose()
|
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;
}