16 lines
241 B
TypeScript
16 lines
241 B
TypeScript
export interface CommonResult<T> {
|
|
list: T[];
|
|
}
|
|
|
|
export interface CommonPageResult<T> extends CommonResult<T> {
|
|
total: number;
|
|
}
|
|
|
|
export interface CommonNumIdParams {
|
|
id: number;
|
|
}
|
|
|
|
export interface CommonStrIdParams {
|
|
id: string;
|
|
}
|