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

108 lines
3.0 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 BookingOrder {
//
orderId?: number;
// 订单类型0商城订单 1预定订单 2会员卡
type?: number;
// 订单号
orderNo?: string;
// 下单渠道0小程序预定 1俱乐部训练场 3活动订场
channel?: number;
// 微信支付订单号
transactionId?: string;
// 微信退款订单号
refundOrder?: string;
// 场馆id用于权限判断
merchantId?: number;
// 商户名称
merchantName?: string;
// 商户编号
merchantCode?: string;
// 用户id
uid?: number;
// 使用的优惠券id
cid?: number;
// 使用的会员卡id
vid?: number;
// 关联管理员id
aid?: number;
// 核销管理员id
adminId?: number;
// IC卡号
code?: string;
// 真实姓名
name?: string;
// 手机号码
phone?: string;
// 订单总额
totalPrice?: string;
// 减少的金额使用VIP会员折扣、优惠券抵扣、优惠券折扣后减去的价格
reducePrice?: string;
// 实际付款
payPrice?: string;
// 用于统计
price?: string;
// 价钱,用于积分赠送
money?: string;
// 退款金额
refundMoney?: string;
// 教练价格
coachPrice?: string;
// 教练id
coachId?: number;
// 1微信支付2积分3支付宝4现金5POS机6VIP月卡7VIP年卡8VIP次卡9IC月卡10IC年卡11IC次卡12免费13VIP充值卡14IC充值卡15积分支付16VIP季卡17IC季卡
payType?: string;
// 1已付款2未付款
payStatus?: string;
// 1已完成2未使用3已取消4退款申请中5退款被拒绝6退款成功7客户端申请退款
orderStatus?: string;
// 优惠类型0无、1抵扣优惠券、2折扣优惠券、3、VIP月卡、4VIP年卡5VIP次卡、6VIP会员卡、7IC月卡、8IC年卡、9IC次卡、10IC会员卡、11免费订单、12VIP充值卡、13IC充值卡、14VIP季卡、15IC季卡
couponType?: string;
// 二维码地址,保存订单号,支付成功后才生成
qrcode?: string;
// 优惠说明
couponDesc?: string;
// vip月卡年卡、ic月卡年卡回退次数
returnNum?: number;
// vip充值回退金额
returnMoney?: string;
// 预约详情开始时间数组
startTime?: string;
// 是否已开具发票1已开发票2未开发票3不能开具发票
isInvoice?: string;
// 下单时间
createTime?: number;
//
updateTime?: number;
// 付款时间
payTime?: number;
// 退款时间
refundTime?: number;
// 申请退款时间
refundApplyTime?: number;
// 过期时间
expirationTime?: string;
// 对账情况1=已对账2=未对账3=已对账金额对不上4=未查询到该订单
checkBill?: number;
// 备注
comments?: string;
// 排序号
sortNumber?: number;
// 是否删除, 0否, 1是
deleted?: number;
// 租户id
tenantId?: number;
}
/**
* 搜索条件
*/
export interface BookingOrderParam extends PageParam {
orderId?: number;
keywords?: string;
}