forked from hangshuo652/aurak
0a9588abb7
- Add pagination support to findAll (page, limit query params) - Add findByTemplateId method to service - Add GET /by-template/:templateId endpoint to controller - Service already includes CRUD for QuestionBank and QuestionBankItem
12 lines
259 B
TypeScript
12 lines
259 B
TypeScript
import { IsString, IsNotEmpty, IsUUID } from 'class-validator';
|
|
|
|
export class BindFeishuBotDto {
|
|
@IsUUID()
|
|
@IsNotEmpty()
|
|
botId: string;
|
|
|
|
@IsString()
|
|
@IsNotEmpty()
|
|
verificationCode?: string; // Optional: used to validate the binding relationship
|
|
}
|