Files
guofu-admin/modules/api/booking_____/period/model/index.ts
2024-08-23 22:28:24 +08:00

62 lines
1.2 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import type { PageParam } from '@/api';
import { BookingField } from '@/api/booking/bookingField/model';
/**
* 场地时段
*/
export interface Period {
//
periodId?: number;
// 时段
timePeriod?: string;
timePeriod1?: string;
timePeriod2?: string;
// 价格
price?: number;
// 每日不同价格
prices?: string;
// 半场价格
halfPrice?: number;
// 每日不同半场价格
halfPrices?: string;
// 儿童价
childrenPrice?: number;
// 星期选择
week?: string;
// 排序
sortNumber?: number;
// 关联id
merchantId?: number;
// 是否关闭1开启2关闭
isStatus?: number;
// 是否免费1免费2收费
isFree?: number;
// 开始时间
startTime?: string;
// 备注
comments?: string;
// 状态
status?: number;
// 租户id
tenantId?: number;
// 创建时间
createTime?: string;
// 场地列表
fieldList?: BookingField[];
}
/**
* 场地时段搜索条件
*/
export interface PeriodParam extends PageParam {
periodId?: number;
keywords?: string;
dateTime?: string;
isStatus?: number;
timePeriod?: string;
merchantId?: number;
week?: number;
startTime?: string;
half?: number;
}