automated_api/src/modules/flow/entity/log.ts
lixin 0afa56d652 build(automated): 更新项目依赖并调整配置
- 更新项目名称为 automated
- 更新多个依赖包版本,包括 @cool-midway、@midwayjs、@langchain 等
- 更新作者信息为 lixin&liqiannan
- 更新 TypeScript 版本至 5.5.4
- 添加 newman、prettier 等新依赖
- 优化 package.json 结构和格式
2025-01-09 17:58:04 +08:00

24 lines
591 B
TypeScript

import { BaseEntity } from '@cool-midway/core';
import { Column, Entity } from 'typeorm';
/**
* 流程日志
*/
@Entity('flow_log')
export class FlowLogEntity extends BaseEntity {
@Column({ comment: '流程ID' })
flowId: number;
@Column({ comment: '类型 0-失败 1-成功 2-未知', default: 0 })
type: number;
@Column({ comment: '传入参数', type: 'json', nullable: true })
inputParams: any;
@Column({ comment: '结果', type: 'json', nullable: true })
result: any;
@Column({ comment: '节点运行信息', type: 'json', nullable: true })
nodeInfo: any[];
}