Skip to content

Commit

Permalink
refactor: Update PlanResponseDTO to include isAlarmAvailable property
Browse files Browse the repository at this point in the history
  • Loading branch information
suk-6 committed Jul 13, 2024
1 parent 8efa50c commit f23bcc6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/modules/plan/dto/plan-response.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { UserResponseDTO } from 'src/modules/user/dto/user.dto';

import { PlaceDTO } from './place.dto';

export class PlanResponseDTO implements Plan {
export class PlanResponseDTO implements Partial<Plan> {
@ApiProperty()
id: string;

Expand All @@ -26,6 +26,9 @@ export class PlanResponseDTO implements Plan {
})
users: User[];

@ApiProperty()
isAlarmAvailable: boolean;

@ApiProperty()
createdAt: Date;
}

0 comments on commit f23bcc6

Please sign in to comment.