feat: 增加通用品牌咨询记录类型

This commit is contained in:
que01 committed 2026-09-19 12:36:50 +08:00
1 parent 0228112846
commit 8d93f34260
7 files changed
+27 -4

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ export class BookingItemDto {
}
export class CreateBookingDto {
@IsIn(["package", "private_chef"]) requestType!: "package" | "private_chef";
@IsIn(["package", "private_chef", "inquiry"]) requestType!: "package" | "private_chef" | "inquiry";
@IsString() customerName!: string;
@IsOptional() @IsString() phone?: string;
@IsOptional() @IsString() wechatId?: string;
+1 -1
View File
@@ -3,7 +3,7 @@ import { BookingStatus, Prisma } from "@prisma/client";
import { PrismaService } from "./prisma.service.js";
export interface CreateBookingInput {
requestType: "package" | "private_chef";
requestType: "package" | "private_chef" | "inquiry";
customerName: string;
phone?: string;
wechatId?: string;