updatedto
import { PartialType } from '@nestjs/swagger'; import { CreateUserCourseDto } from './create-user-course.dto'; import { InactiveType } from '../schema/userCourse.schema'; export class UpdateUserCourseDto extends PartialType(CreateUserCourseDto) { id?: string isPermanent?: boolean ; inActiveAt?:Date; inActiveDetailsObj?: { inActiveAt: Date; inActiveBy: string; type: InactiveType; remark: string; }; inActiveDetails?: { inActiveAt: Date; inActiveBy: string; type: InactiveType; remark: string; }[]; } export class BulkUpdateUserCourseDto { userCourses: UpdateUserCourseDto[]; batch?: string; inActiveAt?:Date; inActiveDetailsObj?: { inActiveAt: Date; inActiveBy: string; type: InactiveType; remark: string; }; inActiveDetails?: { inActiveAt: Date; inActiveBy: string; type: InactiveType; remark: string; }[]; }
Leave a Comment