feat: 增加通用品牌咨询记录类型
This commit is contained in:
1 parent
0228112846
commit
8d93f34260
7 files changed
+27
-4
No files matched your search
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user