Skip to content

Commit

Permalink
fix: 7
Browse files Browse the repository at this point in the history
  • Loading branch information
whiitex committed May 19, 2024
1 parent 2154316 commit fc00fc5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 81 deletions.
5 changes: 5 additions & 0 deletions api/src/timeslots/create-timeslot.dto.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
import { TimeSlot } from '@hkrecruitment/shared';
import { ApiProperty } from '@nestjs/swagger';
import { Availability } from 'src/availability/availability.entity';
import { RecruitmentSession } from 'src/recruitment-session/recruitment-session.entity';

export class CreateTimeSlotDto implements Partial<TimeSlot> {
@ApiProperty() //
start: Date;

@ApiProperty()
end: Date;

@ApiProperty()
recruitmentSession: RecruitmentSession;
}
Loading

0 comments on commit fc00fc5

Please sign in to comment.