import { immutable } from '../../decorators'; import { ExpressionNode, LOGIC_TYPE } from '../LogicItem'; /** * 流程判断结果 * @TODO: 当前类目前主要用于生成文档 */ export class ProcessOutcome extends ExpressionNode { /** * 逻辑节点类型 */ @immutable() public readonly type: LOGIC_TYPE = LOGIC_TYPE.ProcessOutcome; /** * 流程引用 */ @immutable() public readonly processFlowRef: string = undefined; /** * 流程 Id */ @immutable() public readonly processId: string = undefined; /** * 流程组件 Id */ @immutable() public readonly processCompnentId: string = undefined; /** * 生成 JS 脚本 */ toScript() { return ''; } }