62 lines
1.2 KiB
TypeScript
62 lines
1.2 KiB
TypeScript
import type { PageParam } from '@/api';
|
|
|
|
/**
|
|
* 发票
|
|
*/
|
|
export interface BookingUserInvoice {
|
|
// id
|
|
id?: number;
|
|
// 发票类型(0纸质 1电子)
|
|
type?: number;
|
|
// 发票名称
|
|
name?: string;
|
|
// 开票类型(0普票 1专票)
|
|
invoiceType?: number;
|
|
// 税号
|
|
invoiceCode?: string;
|
|
// 公司地址
|
|
address?: string;
|
|
// 公司电话
|
|
tel?: string;
|
|
// 开户行
|
|
bankName?: string;
|
|
// 开户账号
|
|
bankAccount?: string;
|
|
// 手机号码
|
|
phone?: string;
|
|
// 电子邮箱
|
|
email?: string;
|
|
// 发票流水号
|
|
invoiceNo?: string;
|
|
// 发票图片预览
|
|
invoiceImg?: string;
|
|
// 发票pdf地址
|
|
invoicePdf?: string;
|
|
// 备注
|
|
comments?: string;
|
|
// 是否启用
|
|
isCompany?: number;
|
|
// 排序(数字越小越靠前)
|
|
sortNumber?: number;
|
|
// 状态, 0待使用, 1已使用, 2已失效
|
|
status?: number;
|
|
// 是否删除, 0否, 1是
|
|
deleted?: number;
|
|
// 用户ID
|
|
userId?: number;
|
|
// 租户id
|
|
tenantId?: number;
|
|
// 创建时间
|
|
createTime?: string;
|
|
// 修改时间
|
|
updateTime?: string;
|
|
}
|
|
|
|
/**
|
|
* 发票搜索条件
|
|
*/
|
|
export interface BookingUserInvoiceParam extends PageParam {
|
|
id?: number;
|
|
keywords?: string;
|
|
}
|