50 lines
909 B
TypeScript
50 lines
909 B
TypeScript
import type { PageParam } from '@/api';
|
||
|
||
/**
|
||
* 场地时段
|
||
*/
|
||
export interface BookingPeriod {
|
||
//
|
||
periodId?: number;
|
||
// 时段
|
||
timePeriod?: string;
|
||
// 价格
|
||
price?: string;
|
||
// 每日不同价格
|
||
prices?: string;
|
||
// 半场价格
|
||
halfPrice?: string;
|
||
// 每日不同半场价格
|
||
halfPrices?: string;
|
||
// 儿童价
|
||
childrenPrice?: string;
|
||
// 星期选择
|
||
week?: string;
|
||
// 排序
|
||
sortNumber?: number;
|
||
// 关联id
|
||
merchantId?: number;
|
||
// 是否关闭,0开启,1关闭
|
||
isStatus?: string;
|
||
// 是否免费:0免费,1收费
|
||
isFree?: string;
|
||
// 开始时间
|
||
startTime?: string;
|
||
// 备注
|
||
comments?: string;
|
||
// 状态
|
||
status?: number;
|
||
// 租户id
|
||
tenantId?: number;
|
||
// 创建时间
|
||
createTime?: string;
|
||
}
|
||
|
||
/**
|
||
* 场地时段搜索条件
|
||
*/
|
||
export interface BookingPeriodParam extends PageParam {
|
||
periodId?: number;
|
||
keywords?: string;
|
||
}
|