Skip to content

Commit

Permalink
Merge branch 'main' into put-calendar-like-button
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueHorn07 authored Aug 11, 2024
2 parents 61ee9c5 + 1e42f9b commit 723e02b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
12 changes: 11 additions & 1 deletion nest-cli.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
{
"collection": "@nestjs/schematics",
"sourceRoot": "src"
"sourceRoot": "src",
"compilerOptions": {
"plugins": [
{
"name": "@nestjs/swagger",
"options": {
"classValidatorShim": true
}
}
]
}
}
11 changes: 0 additions & 11 deletions src/popo/reservation/place/reserve.place.dto.ts
Original file line number Diff line number Diff line change
@@ -1,32 +1,21 @@
import { ApiProperty } from '@nestjs/swagger';

export class CreateReservePlaceDto {
@ApiProperty()
readonly place_id: string; // uuid of place

@ApiProperty()
readonly booker_id?: string; // uuid of booker

@ApiProperty()
readonly phone: string;

@ApiProperty()
readonly title: string;

@ApiProperty()
readonly description: string;

@ApiProperty()
readonly date: string; // YYYYMMDD

@ApiProperty()
readonly start_time: string; // hhmm

@ApiProperty()
readonly end_time: string; // hhmm
}

export class AcceptPlaceReservationListDto {
@ApiProperty()
readonly uuid_list: string[];
}

0 comments on commit 723e02b

Please sign in to comment.