feat: 完成动态咨询表单公开读取与提交
This commit is contained in:
1 parent
4470302b3f
commit
1503f042e0
3 files changed
+70
-1
No files matched your search
@@ -5,6 +5,7 @@ import {
|
||||
IsInt,
|
||||
IsISO8601,
|
||||
IsOptional,
|
||||
IsObject,
|
||||
IsString,
|
||||
Max,
|
||||
Min,
|
||||
@@ -33,3 +34,8 @@ export class CreateBookingDto {
|
||||
@IsArray() @ValidateNested({ each: true }) @Type(() => BookingItemDto) items: BookingItemDto[] =
|
||||
[];
|
||||
}
|
||||
|
||||
export class CreateInquirySubmissionDto {
|
||||
@IsString() formId!: string;
|
||||
@IsObject() values!: Record<string, unknown>;
|
||||
}
|
||||
Reference in new issue
Block a user