{
  "key": "new_model",
  "name": "新模型",
  "noticeConf": {
    "pendingMessageId": "41",
    "noticeMessageId": "64",
    "smsId": "40"
  },
  "description": "极引非东活已运王点越组油门展总想立。年深江亲联热制者条济它部即月。号线信平和者京两马何标这。",
  "fieldConf": [
    {
      "name": "价格",
      "code": "price",
      "type": "number"
    },
    {
      "name": "标题",
      "code": "title",
      "type": "string"
    },
    {
      "name": "性别",
      "code": "age",
      "type": "radio",
      "options": [
        {
          "name": "男",
          "value": "1"
        },
        {
          "name": "女",
          "value": "2"
        }
      ]
    },
    {
      "name": "颜色",
      "code": "color",
      "type": "checkbox",
      "options": [
        {
          "name": "红色",
          "value": "read"
        },
        {
          "name": "蓝色",
          "value": "blue"
        },
        {
          "name": "绿色",
          "value": "green"
        }
      ]
    }
  ],
  "category": "customCategory",
  "buttonConf": {
    "initiator": [
      {
        "btnKey": "BPMN_APPROVE",
        "enabled": true,
        "btnName": "同意"
      },
      {
        "btnKey": "BPMN_REJECT",
        "btnName": "拒绝",
        "enabled": true
      },
      {
        "btnKey": "BPMN_REVOCATION",
        "btnName": "撤回",
        "enabled": true
      },
      {
        "btnKey": "BPMN_FORWARD",
        "btnName": "转交",
        "enabled": true
      },
      {
        "btnKey": "BPMN_COUNTERSIGN",
        "btnName": "加签",
        "enabled": true
      },
      {
        "btnKey": "BPMN_COMMENT",
        "btnName": "评论",
        "enabled": true
      },
      {
        "btnKey": "BPMN_ROLLBACK",
        "btnName": "回退",
        "enabled": true
      },
      {
        "btnKey": "BPMN_COPY",
        "btnName": "抄送",
        "enabled": true
      }
    ],
    "carbonCopy": [
      {
        "btnKey": "BPMN_APPROVE",
        "enabled": true,
        "btnName": "同意"
      },
      {
        "btnKey": "BPMN_REJECT",
        "btnName": "拒绝",
        "enabled": true
      },
      {
        "btnKey": "BPMN_REVOCATION",
        "btnName": "撤回",
        "enabled": true
      },
      {
        "btnKey": "BPMN_FORWARD",
        "btnName": "转交",
        "enabled": true
      },
      {
        "btnKey": "BPMN_COUNTERSIGN",
        "btnName": "加签",
        "enabled": true
      },
      {
        "btnKey": "BPMN_COMMENT",
        "btnName": "评论",
        "enabled": true
      },
      {
        "btnKey": "BPMN_ROLLBACK",
        "btnName": "回退",
        "enabled": true
      },
      {
        "btnKey": "BPMN_COPY",
        "btnName": "抄送",
        "enabled": true
      }
    ],
    "history": [
      {
        "btnKey": "BPMN_APPROVE",
        "enabled": true,
        "btnName": "同意"
      },
      {
        "btnKey": "BPMN_REJECT",
        "btnName": "拒绝",
        "enabled": true
      },
      {
        "btnKey": "BPMN_REVOCATION",
        "btnName": "撤回",
        "enabled": true
      },
      {
        "btnKey": "BPMN_FORWARD",
        "btnName": "转交",
        "enabled": true
      },
      {
        "btnKey": "BPMN_COUNTERSIGN",
        "btnName": "加签",
        "enabled": true
      },
      {
        "btnKey": "BPMN_COMMENT",
        "btnName": "评论",
        "enabled": true
      },
      {
        "btnKey": "BPMN_ROLLBACK",
        "btnName": "回退",
        "enabled": true
      },
      {
        "btnKey": "BPMN_COPY",
        "btnName": "抄送",
        "enabled": true
      }
    ],
    "current": [
      {
        "btnKey": "BPMN_APPROVE",
        "enabled": true,
        "btnName": "同意"
      },
      {
        "btnKey": "BPMN_REJECT",
        "btnName": "拒绝",
        "enabled": true
      },
      {
        "btnKey": "BPMN_REVOCATION",
        "btnName": "撤回",
        "enabled": true
      },
      {
        "btnKey": "BPMN_FORWARD",
        "btnName": "转交",
        "enabled": true
      },
      {
        "btnKey": "BPMN_COUNTERSIGN",
        "btnName": "加签",
        "enabled": true
      },
      {
        "btnKey": "BPMN_COMMENT",
        "btnName": "评论",
        "enabled": true
      },
      {
        "btnKey": "BPMN_ROLLBACK",
        "btnName": "回退",
        "enabled": true
      },
      {
        "btnKey": "BPMN_COPY",
        "btnName": "抄送",
        "enabled": true
      }
    ]
  },
  "node": {
    "id": "1",
    "parentId": "0",
    "type": "NODE_STARTER",
    "name": "发起人",
    "children": {
      "id": "2",
      "parentId": "1",
      "type": "NODE_TASK",
      "name": "一级审批",
      "children": {
        "id": "3",
        "parentId": "2",
        "type": "NODE_EXCLUSIVE_GATEWAY",
        "name": "排它网关",
        "children": {
          "id": "11",
          "parentId": "3",
          "type": "NODE_CARBON_COPY",
          "name": "主流程抄送节点",
          "children": {
            "id": "12",
            "parentId": "11",
            "type": "NODE_EMPTY",
            "name": "结束",
            "children": null,
            "property": {},
            "branches": null
          },
          "property": null,
          "branches": null
        },
        "branches": [
          {
            "id": "4",
            "parentId": "3",
            "type": "NODE_CONDITION",
            "name": "条件1",
            "property": {
              "groups": [
                {
                  "conditionsType": "and",
                  "conditions": [
                    {
                      "fieldDataType": "string",
                      "fieldCode": "title",
                      "operator": "contains",
                      "defaultValue": "测试"
                    },
                    {
                      "fieldDataType": "number",
                      "fieldCode": "price",
                      "operator": "eq",
                      "defaultValue": "2"
                    }
                  ]
                }
              ],
              "defaultBranch": false,
              "groupsType": "and"
            },
            "children": {
              "id": "7",
              "parentId": "4",
              "type": "NODE_TASK",
              "name": "条件1审核节点",
              "children": {
                "id": "8",
                "parentId": "7",
                "type": "NODE_CARBON_COPY",
                "name": "条件1抄送节点",
                "children": null,
                "property": null,
                "branches": null
              },
              "property": {
                "approvalMethod": "autoPassed",
                "approverScope": "entWorkspace",
                "approverSpecify": "position",
                "specifyValue": [
                  "job1",
                  "job2"
                ],
                "isMultiTask": "true",
                "multiMode": "AND",
                "approverEmptyHandleType": "autoPassed",
                "fieldPermission": null,
                "buttonPermission": {
                  "initiator": [
                    {
                      "btnKey": "BPMN_APPROVE",
                      "enabled": true,
                      "btnName": "同意"
                    },
                    {
                      "btnKey": "BPMN_REJECT",
                      "btnName": "拒绝",
                      "enabled": true
                    },
                    {
                      "btnKey": "BPMN_REVOCATION",
                      "btnName": "撤回",
                      "enabled": true
                    },
                    {
                      "btnKey": "BPMN_FORWARD",
                      "btnName": "转交",
                      "enabled": true
                    },
                    {
                      "btnKey": "BPMN_COUNTERSIGN",
                      "btnName": "加签",
                      "enabled": true
                    },
                    {
                      "btnKey": "BPMN_COMMENT",
                      "btnName": "评论",
                      "enabled": true
                    },
                    {
                      "btnKey": "BPMN_ROLLBACK",
                      "btnName": "回退",
                      "enabled": true
                    },
                    {
                      "btnKey": "BPMN_COPY",
                      "btnName": "抄送",
                      "enabled": true
                    }
                  ],
                  "carbonCopy": [
                    {
                      "btnKey": "BPMN_APPROVE",
                      "enabled": true,
                      "btnName": "同意"
                    },
                    {
                      "btnKey": "BPMN_REJECT",
                      "btnName": "拒绝",
                      "enabled": true
                    },
                    {
                      "btnKey": "BPMN_REVOCATION",
                      "btnName": "撤回",
                      "enabled": true
                    },
                    {
                      "btnKey": "BPMN_FORWARD",
                      "btnName": "转交",
                      "enabled": true
                    },
                    {
                      "btnKey": "BPMN_COUNTERSIGN",
                      "btnName": "加签",
                      "enabled": true
                    },
                    {
                      "btnKey": "BPMN_COMMENT",
                      "btnName": "评论",
                      "enabled": true
                    },
                    {
                      "btnKey": "BPMN_ROLLBACK",
                      "btnName": "回退",
                      "enabled": true
                    },
                    {
                      "btnKey": "BPMN_COPY",
                      "btnName": "抄送",
                      "enabled": true
                    }
                  ],
                  "history": [
                    {
                      "btnKey": "BPMN_APPROVE",
                      "enabled": true,
                      "btnName": "同意"
                    },
                    {
                      "btnKey": "BPMN_REJECT",
                      "btnName": "拒绝",
                      "enabled": true
                    },
                    {
                      "btnKey": "BPMN_REVOCATION",
                      "btnName": "撤回",
                      "enabled": true
                    },
                    {
                      "btnKey": "BPMN_FORWARD",
                      "btnName": "转交",
                      "enabled": true
                    },
                    {
                      "btnKey": "BPMN_COUNTERSIGN",
                      "btnName": "加签",
                      "enabled": true
                    },
                    {
                      "btnKey": "BPMN_COMMENT",
                      "btnName": "评论",
                      "enabled": true
                    },
                    {
                      "btnKey": "BPMN_ROLLBACK",
                      "btnName": "回退",
                      "enabled": true
                    },
                    {
                      "btnKey": "BPMN_COPY",
                      "btnName": "抄送",
                      "enabled": true
                    }
                  ],
                  "current": [
                    {
                      "btnKey": "BPMN_APPROVE",
                      "enabled": true,
                      "btnName": "同意"
                    },
                    {
                      "btnKey": "BPMN_REJECT",
                      "btnName": "拒绝",
                      "enabled": true
                    },
                    {
                      "btnKey": "BPMN_REVOCATION",
                      "btnName": "撤回",
                      "enabled": true
                    },
                    {
                      "btnKey": "BPMN_FORWARD",
                      "btnName": "转交",
                      "enabled": true
                    },
                    {
                      "btnKey": "BPMN_COUNTERSIGN",
                      "btnName": "加签",
                      "enabled": true
                    },
                    {
                      "btnKey": "BPMN_COMMENT",
                      "btnName": "评论",
                      "enabled": true
                    },
                    {
                      "btnKey": "BPMN_ROLLBACK",
                      "btnName": "回退",
                      "enabled": true
                    },
                    {
                      "btnKey": "BPMN_COPY",
                      "btnName": "抄送",
                      "enabled": true
                    }
                  ]
                }
              },
              "branches": null
            },
            "branches": null
          },
          {
            "id": "5",
            "parentId": "3",
            "type": "NODE_CONDITION",
            "name": "条件2",
            "property": {
              "groups": [
                {
                  "conditionsType": "and",
                  "conditions": [
                    {
                      "fieldDataType": "number",
                      "fieldCode": "size",
                      "operator": "between",
                      "leftValue": "31",
                      "leftOperator": "le",
                      "rightValue": "34",
                      "rightOperator": "gt"
                    },
                    {
                      "fieldDataType": "radio",
                      "fieldCode": "sex",
                      "operator": "eq",
                      "defaultValue": "2"
                    },
                    {
                      "fieldDataType": "checkbox",
                      "fieldCode": "color",
                      "operator": "in",
                      "defaultValues": [
                        "red",
                        "blue"
                      ]
                    }
                  ]
                }
              ],
              "defaultBranch": false,
              "groupsType": "and"
            },
            "children": {
              "id": "9",
              "parentId": "5",
              "type": "NODE_BUSINESS",
              "name": "条件2业务节点",
              "children": {
                "id": "10",
                "parentId": "9",
                "type": "NODE_TASK",
                "name": "条件2审批节点",
                "children": {
                  "id": "13",
                  "parentId": "10",
                  "type": "NODE_BUSINESS",
                  "name": "业务节点有审批人",
                  "property": {
                    "approvalMethod": "human",
                    "approverScope": "projectWorkspace",
                    "approverSpecify": "identity",
                    "specifyValue": [
                      "worker",
                      "team_worker"
                    ],
                    "isMultiTask": "true",
                    "multiMode": "AND",
                    "approverEmptyHandleType": "transferToAdmin",
                    "fieldPermission": null,
                    "buttonPermission": null
                  },
                  "children": null,
                  "branches": null
                },
                "property": {
                  "approvalMethod": "human",
                  "approverScope": "projectWorkspace",
                  "approverSpecify": "position",
                  "specifyValue": [
                    "job1",
                    "job2"
                  ],
                  "isMultiTask": "true",
                  "multiMode": "AND",
                  "approverEmptyHandleType": "autoPassed",
                  "fieldPermission": null,
                  "buttonPermission": null
                },
                "branches": null
              },
              "property": {
                "approvalMethod": "nobody"
              },
              "branches": null
            },
            "branches": null
          },
          {
            "id": "6",
            "parentId": "3",
            "type": "NODE_CONDITION",
            "name": "默认条件",
            "property": {
              "defaultBranch": true
            },
            "children": null,
            "branches": null
          }
        ],
        "property": null
      },
      "branches": null,
      "property": {
        "approvalMethod": "human",
        "approverScope": "projectWorkspace",
        "approverSpecify": "position",
        "specifyValue": [
          "job1",
          "job2"
        ],
        "isMultiTask": "true",
        "multiMode": "AND",
        "approverEmptyHandleType": "transferToAdmin",
        "fieldPermission": null,
        "buttonPermission": {
          "initiator": [
            {
              "btnKey": "BPMN_APPROVE",
              "enabled": true,
              "btnName": "同意"
            },
            {
              "btnKey": "BPMN_REJECT",
              "btnName": "拒绝",
              "enabled": true
            },
            {
              "btnKey": "BPMN_REVOCATION",
              "btnName": "撤回",
              "enabled": true
            },
            {
              "btnKey": "BPMN_FORWARD",
              "btnName": "转交",
              "enabled": true
            },
            {
              "btnKey": "BPMN_COUNTERSIGN",
              "btnName": "加签",
              "enabled": true
            },
            {
              "btnKey": "BPMN_COMMENT",
              "btnName": "评论",
              "enabled": true
            },
            {
              "btnKey": "BPMN_ROLLBACK",
              "btnName": "回退",
              "enabled": true
            },
            {
              "btnKey": "BPMN_COPY",
              "btnName": "抄送",
              "enabled": true
            }
          ],
          "carbonCopy": [
            {
              "btnKey": "BPMN_APPROVE",
              "enabled": true,
              "btnName": "同意"
            },
            {
              "btnKey": "BPMN_REJECT",
              "btnName": "拒绝",
              "enabled": true
            },
            {
              "btnKey": "BPMN_REVOCATION",
              "btnName": "撤回",
              "enabled": true
            },
            {
              "btnKey": "BPMN_FORWARD",
              "btnName": "转交",
              "enabled": true
            },
            {
              "btnKey": "BPMN_COUNTERSIGN",
              "btnName": "加签",
              "enabled": true
            },
            {
              "btnKey": "BPMN_COMMENT",
              "btnName": "评论",
              "enabled": true
            },
            {
              "btnKey": "BPMN_ROLLBACK",
              "btnName": "回退",
              "enabled": true
            },
            {
              "btnKey": "BPMN_COPY",
              "btnName": "抄送",
              "enabled": true
            }
          ],
          "history": [
            {
              "btnKey": "BPMN_APPROVE",
              "enabled": true,
              "btnName": "同意"
            },
            {
              "btnKey": "BPMN_REJECT",
              "btnName": "拒绝",
              "enabled": true
            },
            {
              "btnKey": "BPMN_REVOCATION",
              "btnName": "撤回",
              "enabled": true
            },
            {
              "btnKey": "BPMN_FORWARD",
              "btnName": "转交",
              "enabled": true
            },
            {
              "btnKey": "BPMN_COUNTERSIGN",
              "btnName": "加签",
              "enabled": true
            },
            {
              "btnKey": "BPMN_COMMENT",
              "btnName": "评论",
              "enabled": true
            },
            {
              "btnKey": "BPMN_ROLLBACK",
              "btnName": "回退",
              "enabled": true
            },
            {
              "btnKey": "BPMN_COPY",
              "btnName": "抄送",
              "enabled": true
            }
          ],
          "current": [
            {
              "btnKey": "BPMN_APPROVE",
              "enabled": true,
              "btnName": "同意"
            },
            {
              "btnKey": "BPMN_REJECT",
              "btnName": "拒绝",
              "enabled": true
            },
            {
              "btnKey": "BPMN_REVOCATION",
              "btnName": "撤回",
              "enabled": true
            },
            {
              "btnKey": "BPMN_FORWARD",
              "btnName": "转交",
              "enabled": true
            },
            {
              "btnKey": "BPMN_COUNTERSIGN",
              "btnName": "加签",
              "enabled": true
            },
            {
              "btnKey": "BPMN_COMMENT",
              "btnName": "评论",
              "enabled": true
            },
            {
              "btnKey": "BPMN_ROLLBACK",
              "btnName": "回退",
              "enabled": true
            },
            {
              "btnKey": "BPMN_COPY",
              "btnName": "抄送",
              "enabled": true
            }
          ]
        }
      }
    },
    "branches": null,
    "property": {
      "buttonPermission": {
        "initiator": [
          {
            "btnKey": "BPMN_APPROVE",
            "enabled": true,
            "btnName": "同意"
          },
          {
            "btnKey": "BPMN_REJECT",
            "btnName": "拒绝",
            "enabled": true
          },
          {
            "btnKey": "BPMN_REVOCATION",
            "btnName": "撤回",
            "enabled": true
          },
          {
            "btnKey": "BPMN_FORWARD",
            "btnName": "转交",
            "enabled": true
          },
          {
            "btnKey": "BPMN_COUNTERSIGN",
            "btnName": "加签",
            "enabled": true
          },
          {
            "btnKey": "BPMN_COMMENT",
            "btnName": "评论",
            "enabled": true
          },
          {
            "btnKey": "BPMN_ROLLBACK",
            "btnName": "回退",
            "enabled": true
          },
          {
            "btnKey": "BPMN_COPY",
            "btnName": "抄送",
            "enabled": true
          }
        ],
        "carbonCopy": [
          {
            "btnKey": "BPMN_APPROVE",
            "enabled": true,
            "btnName": "同意"
          },
          {
            "btnKey": "BPMN_REJECT",
            "btnName": "拒绝",
            "enabled": true
          },
          {
            "btnKey": "BPMN_REVOCATION",
            "btnName": "撤回",
            "enabled": true
          },
          {
            "btnKey": "BPMN_FORWARD",
            "btnName": "转交",
            "enabled": true
          },
          {
            "btnKey": "BPMN_COUNTERSIGN",
            "btnName": "加签",
            "enabled": true
          },
          {
            "btnKey": "BPMN_COMMENT",
            "btnName": "评论",
            "enabled": true
          },
          {
            "btnKey": "BPMN_ROLLBACK",
            "btnName": "回退",
            "enabled": true
          },
          {
            "btnKey": "BPMN_COPY",
            "btnName": "抄送",
            "enabled": true
          }
        ],
        "history": [
          {
            "btnKey": "BPMN_APPROVE",
            "enabled": true,
            "btnName": "同意"
          },
          {
            "btnKey": "BPMN_REJECT",
            "btnName": "拒绝",
            "enabled": true
          },
          {
            "btnKey": "BPMN_REVOCATION",
            "btnName": "撤回",
            "enabled": true
          },
          {
            "btnKey": "BPMN_FORWARD",
            "btnName": "转交",
            "enabled": true
          },
          {
            "btnKey": "BPMN_COUNTERSIGN",
            "btnName": "加签",
            "enabled": true
          },
          {
            "btnKey": "BPMN_COMMENT",
            "btnName": "评论",
            "enabled": true
          },
          {
            "btnKey": "BPMN_ROLLBACK",
            "btnName": "回退",
            "enabled": true
          },
          {
            "btnKey": "BPMN_COPY",
            "btnName": "抄送",
            "enabled": true
          }
        ],
        "current": [
          {
            "btnKey": "BPMN_APPROVE",
            "enabled": true,
            "btnName": "同意"
          },
          {
            "btnKey": "BPMN_REJECT",
            "btnName": "拒绝",
            "enabled": true
          },
          {
            "btnKey": "BPMN_REVOCATION",
            "btnName": "撤回",
            "enabled": true
          },
          {
            "btnKey": "BPMN_FORWARD",
            "btnName": "转交",
            "enabled": true
          },
          {
            "btnKey": "BPMN_COUNTERSIGN",
            "btnName": "加签",
            "enabled": true
          },
          {
            "btnKey": "BPMN_COMMENT",
            "btnName": "评论",
            "enabled": true
          },
          {
            "btnKey": "BPMN_ROLLBACK",
            "btnName": "回退",
            "enabled": true
          },
          {
            "btnKey": "BPMN_COPY",
            "btnName": "抄送",
            "enabled": true
          }
        ]
      }
    }
  },
  "tenantId": "296"
}
