updatedto
Yash
plain_text
a year ago
1.0 kB
6
Indexable
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;
}[];
}
Editor is loading...
Leave a Comment