- 新增 scripts/fetch-openapi.js:拉取并修复 OpenAPI 文档 - 内联 ResultObject[] 的 \,移除非法 schema 名 - orval 使用本地 openapi.json,api:update 自动执行 api:fetch - AdminStatsController: Result<Object[]> 改为 Result<List<Map<String, Object>>> - .gitignore: 忽略 openapi.json Made-with: Cursor
44 lines
854 B
TypeScript
44 lines
854 B
TypeScript
/**
|
|
* Generated by orval v8.5.3 🍺
|
|
* Do not edit manually.
|
|
* Reading Platform API
|
|
* Reading Platform Backend Service API Documentation
|
|
* OpenAPI spec version: 1.0.0
|
|
*/
|
|
|
|
/**
|
|
* 资源项实体
|
|
*/
|
|
export interface ResourceItem {
|
|
/** 主键 ID */
|
|
id?: number;
|
|
/** 创建人 */
|
|
createBy?: string;
|
|
/** 创建时间 */
|
|
createdAt?: string;
|
|
/** 更新人 */
|
|
updateBy?: string;
|
|
/** 更新时间 */
|
|
updatedAt?: string;
|
|
/** 资源库 ID */
|
|
libraryId?: string;
|
|
/** 租户 ID */
|
|
tenantId?: string;
|
|
/** 资源类型 */
|
|
type?: string;
|
|
/** 资源名称 */
|
|
name?: string;
|
|
/** 资源编码 */
|
|
code?: string;
|
|
/** 资源描述 */
|
|
description?: string;
|
|
/** 数量 */
|
|
quantity?: number;
|
|
/** 可用数量 */
|
|
availableQuantity?: number;
|
|
/** 存放位置 */
|
|
location?: string;
|
|
/** 状态 */
|
|
status?: string;
|
|
}
|