2022-08-16 23:30:23 +08:00
|
|
|
export interface Result {
|
|
|
|
code: number;
|
|
|
|
message: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface ResultData<T> {
|
|
|
|
code: number;
|
|
|
|
message: string;
|
|
|
|
data: T;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface ResPage<T> {
|
|
|
|
items: T[];
|
|
|
|
total: number;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface ReqPage {
|
|
|
|
page: number;
|
|
|
|
pageSize: number;
|
|
|
|
}
|
2023-02-07 18:48:32 +08:00
|
|
|
export interface SearchWithPage {
|
|
|
|
info: string;
|
|
|
|
page: number;
|
|
|
|
pageSize: number;
|
|
|
|
}
|
2022-08-16 23:30:23 +08:00
|
|
|
export interface CommonModel {
|
|
|
|
id: number;
|
|
|
|
CreatedAt?: string;
|
|
|
|
UpdatedAt?: string;
|
|
|
|
}
|
2023-02-13 15:48:18 +08:00
|
|
|
export interface DescriptionUpdate {
|
|
|
|
id: number;
|
|
|
|
description: string;
|
|
|
|
}
|