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

74 lines
1.4 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';
/**
* 比赛信息表
*/
export interface Match {
// 赛事ID
matchId?: number;
// 标题
title?: string;
// 比赛类型 0常规比赛
type?: number;
// 活动开始时间
matchStartTime?: number;
// 活动结束时间
matchEndTime?: number;
// 报名时间
bmStartTime?: number;
// 报名时间
bmEndTime?: number;
// 文章分类ID
categoryId?: number;
// 封面图
image?: string;
// 虚拟阅读量(仅用作展示)
virtualViews?: number;
// 实际阅读量
actualViews?: number;
// 文章附件
files?: string;
// 视频地址
video?: string;
// 退费规则
refundRule?: string;
// 活动介绍
content?: string;
// 经度
longitude?: string;
// 纬度
latitude?: string;
// 比赛活动地点
address?: string;
// 报名费用
price?: string;
// 已报名人数
users?: number;
// 报名人数限制
maxUsers?: number;
// 用户ID
userId?: number;
// 排序(数字越小越靠前)
sortNumber?: number;
// 备注
comments?: string;
// 状态, 0未开始, 1进行中2已结束
status?: number;
// 是否删除, 0否, 1是
deleted?: number;
// 租户id
tenantId?: number;
// 注册时间
createTime?: string;
// 修改时间
updateTime?: string;
}
/**
* 比赛信息表搜索条件
*/
export interface MatchParam extends PageParam {
matchId?: number;
keywords?: string;
}