You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
98 lines
2.8 KiB
98 lines
2.8 KiB
import type { PageParam } from '@/api';
|
|
import type { OrderInfo } from '@/api/booking/orderInfo';
|
|
|
|
/**
|
|
* 预约订单
|
|
*/
|
|
export interface Order {
|
|
// 订单号
|
|
orderId?: number;
|
|
// 订单编号
|
|
orderNo?: string;
|
|
// 微信支付订单号
|
|
wechatOrder?: string;
|
|
// 微信退款订单号
|
|
refundOrder?: string;
|
|
// 场馆id用于权限判断
|
|
merchantId?: number;
|
|
// 用户id
|
|
userId?: number;
|
|
// 使用的优惠券id
|
|
couponId?: number;
|
|
// 使用的会员卡id
|
|
cardId?: 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季卡
|
|
type?: string;
|
|
// 二维码地址,保存订单号,支付成功后才生成
|
|
qrcode?: string;
|
|
// 优惠说明
|
|
desc?: 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;
|
|
// 对账情况:1=已对账;2=未对账;3=已对账,金额对不上;4=未查询到该订单
|
|
checkBill?: number;
|
|
// 备注
|
|
comments?: string;
|
|
// 是否删除, 0否, 1是
|
|
deleted?: number;
|
|
// 租户id
|
|
tenantId?: number;
|
|
// 订单信息
|
|
orderInfo?: OrderInfo;
|
|
}
|
|
|
|
/**
|
|
* 预约订单搜索条件
|
|
*/
|
|
export interface OrderParam extends PageParam {
|
|
orderId?: number;
|
|
keywords?: string;
|
|
}
|