[ { "id": "1", "shape": "er-rect", "label": "主体表", "width": 150, "height": 24, "position": { "x": -860, "y": -670 }, "ports": [ { "id": "1-1", "group": "list", "attrs": { "portNameLabel": { "text": "主体ID" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "1-2", "group": "list", "attrs": { "portNameLabel": { "text": "主体类型" }, "portTypeLabel": { "text": "STRING" } } } ] }, { "id": "2", "shape": "er-rect", "label": "个人主体维度", "width": 150, "height": 24, "position": { "x": -1110, "y": -720 }, "ports": [ { "id": "2-1", "group": "list", "attrs": { "portNameLabel": { "text": "个人主体代码" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "2-2", "group": "list", "attrs": { "portNameLabel": { "text": "姓名" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "2-3", "group": "list", "attrs": { "portNameLabel": { "text": "出生日期" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "2-4", "group": "list", "attrs": { "portNameLabel": { "text": "性别" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "2-5", "group": "list", "attrs": { "portNameLabel": { "text": "民族" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "2-6", "group": "list", "attrs": { "portNameLabel": { "text": "婚姻状态" }, "portTypeLabel": { "text": "STRING" } } } ] }, { "id": "3", "shape": "er-rect", "label": "产品主体维度表", "width": 150, "height": 24, "position": { "x": -680, "y": -580 }, "ports": [ { "id": "3-1", "group": "list", "attrs": { "portNameLabel": { "text": "产品主体代码" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "3-2", "group": "list", "attrs": { "portNameLabel": { "text": "发行公司代码" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "3-3", "group": "list", "attrs": { "portNameLabel": { "text": "产品类型" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "3-4", "group": "list", "attrs": { "portNameLabel": { "text": "产品简称" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "3-5", "group": "list", "attrs": { "portNameLabel": { "text": "产品成立日期" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "3-6", "group": "list", "attrs": { "portNameLabel": { "text": "产品风险等级" }, "portTypeLabel": { "text": "STRING" } } } ] }, { "id": "4", "shape": "er-rect", "label": "公司维度表", "width": 150, "height": 24, "position": { "x": -1040, "y": -440 }, "ports": [ { "id": "4-1", "group": "list", "attrs": { "portNameLabel": { "text": "公司代码" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "4-2", "group": "list", "attrs": { "portNameLabel": { "text": "公司名称" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "4-3", "group": "list", "attrs": { "portNameLabel": { "text": "上市标志" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "4-4", "group": "list", "attrs": { "portNameLabel": { "text": "省份" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "4-5", "group": "list", "attrs": { "portNameLabel": { "text": "城市" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "4-6", "group": "list", "attrs": { "portNameLabel": { "text": "注册地址" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "4-7", "group": "list", "attrs": { "portNameLabel": { "text": "办公地址" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "4-8", "group": "list", "attrs": { "portNameLabel": { "text": "统一社会信用代码" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "4-9", "group": "list", "attrs": { "portNameLabel": { "text": "经营范围" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "4-10", "group": "list", "attrs": { "portNameLabel": { "text": "员工总数" }, "portTypeLabel": { "text": "NUMBER" } } } ] }, { "id": "5", "shape": "er-rect", "label": "营业部维度表", "width": 150, "height": 24, "position": { "x": -80, "y": -600 }, "ports": [ { "id": "5-1", "group": "list", "attrs": { "portNameLabel": { "text": "营业部代码" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "5-2", "group": "list", "attrs": { "portNameLabel": { "text": "营业部名称" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "5-3", "group": "list", "attrs": { "portNameLabel": { "text": "省份" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "5-4", "group": "list", "attrs": { "portNameLabel": { "text": "营业部所属分公司" }, "portTypeLabel": { "text": "STRING" } } } ] }, { "id": "6", "shape": "er-rect", "label": "客户维度表", "width": 150, "height": 24, "position": { "x": -400, "y": -670 }, "ports": [ { "id": "6-1", "group": "list", "attrs": { "portNameLabel": { "text": "客户代码" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "6-2", "group": "list", "attrs": { "portNameLabel": { "text": "营业部代码" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "6-3", "group": "list", "attrs": { "portNameLabel": { "text": "客户名称" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "6-4", "group": "list", "attrs": { "portNameLabel": { "text": "开户日期" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "6-5", "group": "list", "attrs": { "portNameLabel": { "text": "客户状态" }, "portTypeLabel": { "text": "STRING" } } } ] }, { "id": "7", "shape": "er-rect", "label": "资金账号维度表", "width": 150, "height": 24, "position": { "x": -210, "y": -310 }, "ports": [ { "id": "7-1", "group": "list", "attrs": { "portNameLabel": { "text": "客户代码" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "7-2", "group": "list", "attrs": { "portNameLabel": { "text": "资金账户代码" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "7-3", "group": "list", "attrs": { "portNameLabel": { "text": "开通日期" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "7-4", "group": "list", "attrs": { "portNameLabel": { "text": "账户类别" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "7-5", "group": "list", "attrs": { "portNameLabel": { "text": "关联银行" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "7-6", "group": "list", "attrs": { "portNameLabel": { "text": "账户状态" }, "portTypeLabel": { "text": "STRING" } } } ] }, { "id": "8", "shape": "er-rect", "label": "资金账户余额事实表", "width": 150, "height": 24, "position": { "x": 270, "y": -210 }, "ports": [ { "id": "8-1", "group": "list", "attrs": { "portNameLabel": { "text": "交易日期" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "8-2", "group": "list", "attrs": { "portNameLabel": { "text": "客户代码" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "8-3", "group": "list", "attrs": { "portNameLabel": { "text": "资金账户代码" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "8-4", "group": "list", "attrs": { "portNameLabel": { "text": "资金余额" }, "portTypeLabel": { "text": "NUMBER" } } } ] }, { "id": "9", "shape": "er-rect", "label": "股票维度表", "width": 150, "height": 24, "position": { "x": -860, "y": 120 }, "ports": [ { "id": "9-1", "group": "list", "attrs": { "portNameLabel": { "text": "股票代码" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "9-2", "group": "list", "attrs": { "portNameLabel": { "text": "股票名称" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "9-3", "group": "list", "attrs": { "portNameLabel": { "text": "公司代码" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "9-4", "group": "list", "attrs": { "portNameLabel": { "text": "公司名称" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "9-5", "group": "list", "attrs": { "portNameLabel": { "text": "交易所" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "9-6", "group": "list", "attrs": { "portNameLabel": { "text": "所属板块" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "9-7", "group": "list", "attrs": { "portNameLabel": { "text": "货币代码" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "9-8", "group": "list", "attrs": { "portNameLabel": { "text": "发行价格" }, "portTypeLabel": { "text": "NUMBER" } } } ] }, { "id": "10", "shape": "er-rect", "label": "债券维度表", "width": 150, "height": 24, "position": { "x": -490, "y": 110 }, "ports": [ { "id": "10-1", "group": "list", "attrs": { "portNameLabel": { "text": "债券代码" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "10-2", "group": "list", "attrs": { "portNameLabel": { "text": "债券名称" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "10-3", "group": "list", "attrs": { "portNameLabel": { "text": "公司代码" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "10-4", "group": "list", "attrs": { "portNameLabel": { "text": "公司名称" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "10-5", "group": "list", "attrs": { "portNameLabel": { "text": "发行公告日" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "10-6", "group": "list", "attrs": { "portNameLabel": { "text": "发行价格" }, "portTypeLabel": { "text": "NUMBER" } } }, { "id": "10-7", "group": "list", "attrs": { "portNameLabel": { "text": "面值" }, "portTypeLabel": { "text": "NUMBER" } } }, { "id": "10-8", "group": "list", "attrs": { "portNameLabel": { "text": "到期日" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "10-9", "group": "list", "attrs": { "portNameLabel": { "text": "债券期限" }, "portTypeLabel": { "text": "NUMBER" } } } ] }, { "id": "11", "shape": "er-rect", "label": "股票行情事实表", "width": 150, "height": 24, "position": { "x": -1050, "y": 120 }, "ports": [ { "id": "11-1", "group": "list", "attrs": { "portNameLabel": { "text": "股票代码" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "11-2", "group": "list", "attrs": { "portNameLabel": { "text": "交易日期" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "11-3", "group": "list", "attrs": { "portNameLabel": { "text": "股票名称" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "11-4", "group": "list", "attrs": { "portNameLabel": { "text": "公司代码" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "11-5", "group": "list", "attrs": { "portNameLabel": { "text": "公司名称" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "11-6", "group": "list", "attrs": { "portNameLabel": { "text": "货币代码" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "11-7", "group": "list", "attrs": { "portNameLabel": { "text": "开盘价" }, "portTypeLabel": { "text": "NUMBER" } } }, { "id": "11-8", "group": "list", "attrs": { "portNameLabel": { "text": "收盘价" }, "portTypeLabel": { "text": "NUMBER" } } }, { "id": "11-9", "group": "list", "attrs": { "portNameLabel": { "text": "总股本" }, "portTypeLabel": { "text": "NUMBER" } } } ] }, { "id": "14", "shape": "er-rect", "label": "股东账户维度", "width": 150, "height": 24, "position": { "x": -580, "y": -300 }, "ports": [ { "id": "14-1", "group": "list", "attrs": { "portNameLabel": { "text": "客户代码" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "14-2", "group": "list", "attrs": { "portNameLabel": { "text": "资金账户代码" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "14-3", "group": "list", "attrs": { "portNameLabel": { "text": "股东账号代码" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "14-4", "group": "list", "attrs": { "portNameLabel": { "text": "交易所" }, "portTypeLabel": { "text": "STRING" } } } ] }, { "id": "15", "shape": "er-rect", "label": "股东账户持仓表", "width": 150, "height": 24, "position": { "x": 90, "y": -30 }, "ports": [ { "id": "15-1", "group": "list", "attrs": { "portNameLabel": { "text": "交易日期" }, "portTypeLabel": { "text": "DATE" } } }, { "id": "15-2", "group": "list", "attrs": { "portNameLabel": { "text": "客户代码" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "15-3", "group": "list", "attrs": { "portNameLabel": { "text": "资金账户代码" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "15-4", "group": "list", "attrs": { "portNameLabel": { "text": "股东账号代码" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "15-5", "group": "list", "attrs": { "portNameLabel": { "text": "产品代码" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "15-6", "group": "list", "attrs": { "portNameLabel": { "text": "持有数量" }, "portTypeLabel": { "text": "NUMBER" } } } ] }, { "id": "16", "shape": "er-rect", "label": "成交流水事实表", "width": 150, "height": 24, "position": { "x": -870, "y": -330 }, "ports": [ { "id": "16-1", "group": "list", "attrs": { "portNameLabel": { "text": "交易日期" }, "portTypeLabel": { "text": "DATE" } } }, { "id": "16-2", "group": "list", "attrs": { "portNameLabel": { "text": "客户代码" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "16-3", "group": "list", "attrs": { "portNameLabel": { "text": "资金账户代码" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "16-4", "group": "list", "attrs": { "portNameLabel": { "text": "股东账号代码" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "16-5", "group": "list", "attrs": { "portNameLabel": { "text": "产品代码" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "16-6", "group": "list", "attrs": { "portNameLabel": { "text": "买卖类别" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "16-7", "group": "list", "attrs": { "portNameLabel": { "text": "成交金额" }, "portTypeLabel": { "text": "NUMBER" } } }, { "id": "16-8", "group": "list", "attrs": { "portNameLabel": { "text": "佣金" }, "portTypeLabel": { "text": "NUMBER" } } } ] }, { "id": "17", "shape": "er-rect", "label": "员工维度表", "width": 150, "height": 24, "position": { "x": 80, "y": -310 }, "ports": [ { "id": "17-1", "group": "list", "attrs": { "portNameLabel": { "text": "员工编号" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "17-2", "group": "list", "attrs": { "portNameLabel": { "text": "员工姓名" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "17-3", "group": "list", "attrs": { "portNameLabel": { "text": "入职日期" }, "portTypeLabel": { "text": "DATE" } } }, { "id": "17-4", "group": "list", "attrs": { "portNameLabel": { "text": "手机号码" }, "portTypeLabel": { "text": "STRING" } } } ] }, { "id": "18", "shape": "er-rect", "label": "客户开发关系事实表", "width": 150, "height": 24, "position": { "x": 270, "y": -670 }, "ports": [ { "id": "18-1", "group": "list", "attrs": { "portNameLabel": { "text": "客户代码" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "18-2", "group": "list", "attrs": { "portNameLabel": { "text": "员工编号" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "18-3", "group": "list", "attrs": { "portNameLabel": { "text": "开发关系类型" }, "portTypeLabel": { "text": "STRING" } } }, { "id": "18-4", "group": "list", "attrs": { "portNameLabel": { "text": "开始日期" }, "portTypeLabel": { "text": "DATE" } } }, { "id": "18-5", "group": "list", "attrs": { "portNameLabel": { "text": "结束日期" }, "portTypeLabel": { "text": "DATE" } } } ] }, { "id": "31", "shape": "edge", "source": { "cell": "1", "port": "1-1" }, "target": { "cell": "2", "port": "2-1" }, "attrs": { "line": { "stroke": "#A2B1C3", "strokeWidth": 2 } }, "zIndex": 0 }, { "id": "32", "shape": "edge", "source": { "cell": "1", "port": "1-1" }, "target": { "cell": "3", "port": "3-1" }, "attrs": { "line": { "stroke": "#A2B1C3", "strokeWidth": 2 } }, "zIndex": 0 }, { "id": "33", "shape": "edge", "source": { "cell": "1", "port": "1-1" }, "target": { "cell": "4", "port": "4-1" }, "attrs": { "line": { "stroke": "#A2B1C3", "strokeWidth": 2 } }, "zIndex": 0 }, { "id": "34", "shape": "edge", "source": { "cell": "1", "port": "1-1" }, "target": { "cell": "6", "port": "6-1" }, "attrs": { "line": { "stroke": "#A2B1C3", "strokeWidth": 2 } }, "zIndex": 0 }, { "id": "35", "shape": "edge", "source": { "cell": "6", "port": "6-3" }, "target": { "cell": "5", "port": "5-1" }, "attrs": { "line": { "stroke": "#A2B1C3", "strokeWidth": 2 } }, "zIndex": 0 }, { "id": "36", "shape": "er-rect", "label": "产品表", "width": 150, "height": 24, "position": { "x": -680, "y": -120 }, "ports": [ { "id": "36-1", "group": "list", "attrs": { "portNameLabel": { "text": "产品代码 " }, "portTypeLabel": { "text": "STRING" } } }, { "id": "36-2", "group": "list", "attrs": { "portNameLabel": { "text": "产品类型 " }, "portTypeLabel": { "text": "STRING" } } } ] }, { "id": "37", "shape": "edge", "source": { "cell": "6", "port": "6-1" }, "target": { "cell": "18", "port": "18-1" }, "attrs": { "line": { "stroke": "#A2B1C3", "strokeWidth": 2 } }, "zIndex": 0 }, { "id": "38", "shape": "edge", "source": { "cell": "18", "port": "18-2" }, "target": { "cell": "17", "port": "17-1" }, "attrs": { "line": { "stroke": "#A2B1C3", "strokeWidth": 2 } }, "zIndex": 0 }, { "id": "39", "shape": "edge", "source": { "cell": "7", "port": "7-2" }, "target": { "cell": "6", "port": "6-1" }, "attrs": { "line": { "stroke": "#A2B1C3", "strokeWidth": 2 } }, "zIndex": 0 }, { "id": "40", "shape": "edge", "source": { "cell": "7", "port": "7-1" }, "target": { "cell": "8", "port": "8-2" }, "attrs": { "line": { "stroke": "#A2B1C3", "strokeWidth": 2 } }, "zIndex": 0 }, { "id": "41", "shape": "edge", "source": { "cell": "8", "port": "8-2" }, "target": { "cell": "15", "port": "15-2" }, "attrs": { "line": { "stroke": "#A2B1C3", "strokeWidth": 2 } }, "zIndex": 0 }, { "id": "42", "shape": "edge", "source": { "cell": "15", "port": "15-2" }, "target": { "cell": "14", "port": "14-1" }, "attrs": { "line": { "stroke": "#A2B1C3", "strokeWidth": 2 } }, "zIndex": 0 }, { "id": "43", "shape": "edge", "source": { "cell": "6", "port": "6-1" }, "target": { "cell": "14", "port": "14-2" }, "attrs": { "line": { "stroke": "#A2B1C3", "strokeWidth": 2 } }, "zIndex": 0 }, { "id": "44", "shape": "edge", "source": { "cell": "36", "port": "36-1" }, "target": { "cell": "15", "port": "15-3" }, "attrs": { "line": { "stroke": "#A2B1C3", "strokeWidth": 2 } }, "zIndex": 0 }, { "id": "45", "shape": "edge", "source": { "cell": "14", "port": "14-1" }, "target": { "cell": "16", "port": "16-2" }, "attrs": { "line": { "stroke": "#A2B1C3", "strokeWidth": 2 } }, "zIndex": 0 }, { "id": "46", "shape": "edge", "source": { "cell": "36", "port": "36-1" }, "target": { "cell": "16", "port": "16-5" }, "attrs": { "line": { "stroke": "#A2B1C3", "strokeWidth": 2 } }, "zIndex": 0 }, { "id": "47", "shape": "edge", "source": { "cell": "36", "port": "36-1" }, "target": { "cell": "10", "port": "10-1" }, "attrs": { "line": { "stroke": "#A2B1C3", "strokeWidth": 2 } }, "zIndex": 0 }, { "id": "47", "shape": "edge", "source": { "cell": "36", "port": "36-1" }, "target": { "cell": "9", "port": "9-1" }, "attrs": { "line": { "stroke": "#A2B1C3", "strokeWidth": 2 } }, "zIndex": 0 }, { "id": "46", "shape": "edge", "source": { "cell": "36", "port": "36-1" }, "target": { "cell": "16", "port": "16-5" }, "attrs": { "line": { "stroke": "#A2B1C3", "strokeWidth": 2 } }, "zIndex": 0 }, { "id": "47", "shape": "edge", "source": { "cell": "36", "port": "36-1" }, "target": { "cell": "10", "port": "10-1" }, "attrs": { "line": { "stroke": "#A2B1C3", "strokeWidth": 2 } }, "zIndex": 0 }, { "id": "48", "shape": "edge", "source": { "cell": "36", "port": "36-1" }, "target": { "cell": "9", "port": "9-1" }, "attrs": { "line": { "stroke": "#A2B1C3", "strokeWidth": 2 } }, "zIndex": 0 }, { "id": "49", "shape": "edge", "source": { "cell": "9", "port": "9-1" }, "target": { "cell": "11", "port": "11-1" }, "attrs": { "line": { "stroke": "#A2B1C3", "strokeWidth": 2 } }, "zIndex": 0 }, { "id": "50", "shape": "edge", "source": { "cell": "10", "port": "10-1" }, "target": { "cell": "12", "port": "12-1" }, "attrs": { "line": { "stroke": "#A2B1C3", "strokeWidth": 2 } }, "zIndex": 0 } ]