mirror of
https://gitee.com/bootx/dax-pay-ui.git
synced 2025-09-02 10:26:32 +00:00
40 lines
570 B
TypeScript
40 lines
570 B
TypeScript
import { PageResult } from '#/axios'
|
|
|
|
/**
|
|
* 分页参数
|
|
*/
|
|
export interface PageParam {
|
|
// 每页数量
|
|
size: number
|
|
// 当前页数
|
|
current: number
|
|
}
|
|
|
|
/**
|
|
* 分页表格列表对象
|
|
*/
|
|
export interface TablePageModel<T = any> {
|
|
// 分页参数
|
|
pages: PageParam
|
|
// 查询参数
|
|
queryParam: object
|
|
// 结果
|
|
pagination: PageResult<T>
|
|
}
|
|
|
|
/**
|
|
* 基础实体对象
|
|
*/
|
|
export interface BaseEntity {
|
|
id?: number | string | null
|
|
createTime?: string | null
|
|
}
|
|
|
|
/**
|
|
* 键值对对象
|
|
*/
|
|
export interface KeyValue {
|
|
key: string
|
|
value: string
|
|
}
|