{"id":55444,"date":"2025-08-13T22:34:49","date_gmt":"2025-08-13T14:34:49","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/55444.html"},"modified":"2025-08-13T22:34:49","modified_gmt":"2025-08-13T14:34:49","slug":"%e5%a6%82%e4%bd%95%e5%8c%ba%e5%88%86%e7%b1%bb%e7%9a%84%e5%85%b3%e7%b3%bb%e6%98%af%e5%85%b3%e8%81%94%e5%92%8c%e8%81%9a%e5%90%88%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/55444.html","title":{"rendered":"\u5982\u4f55\u533a\u5206\u7c7b\u7684\u5173\u7cfb\u662f\u5173\u8054\u548c\u805a\u5408\uff1f"},"content":{"rendered":"<p>\u4e0b\u9762\u6211\u5c06\u7ed3\u5408Mermaid\u56fe\u5f62\u8be6\u7ec6\u89e3\u6790\u5173\u8054(Association)\u548c\u805a\u5408(Aggregation)\u7684\u533a\u522b&#xff0c;\u901a\u8fc7\u53ef\u89c6\u5316\u65b9\u5f0f\u5c55\u793a\u5b83\u4eec\u5728UML\u4e2d\u7684\u8868\u793a\u4ee5\u53ca\u4ee3\u7801\u5b9e\u73b0\u7684\u5173\u952e\u5dee\u5f02\u3002<\/p>\n<h4>1. \u6838\u5fc3\u6982\u5ff5\u5bf9\u6bd4<\/h4>\n<p>#mermaid-svg-WLorkBww2YrhlCkE {font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;fill:#333;}#mermaid-svg-WLorkBww2YrhlCkE .error-icon{fill:#552222;}#mermaid-svg-WLorkBww2YrhlCkE .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-WLorkBww2YrhlCkE .edge-thickness-normal{stroke-width:2px;}#mermaid-svg-WLorkBww2YrhlCkE .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-WLorkBww2YrhlCkE .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-WLorkBww2YrhlCkE .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-WLorkBww2YrhlCkE .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-WLorkBww2YrhlCkE .marker{fill:#333333;stroke:#333333;}#mermaid-svg-WLorkBww2YrhlCkE .marker.cross{stroke:#333333;}#mermaid-svg-WLorkBww2YrhlCkE svg{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-WLorkBww2YrhlCkE g.classGroup text{fill:#9370DB;fill:#131300;stroke:none;font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:10px;}#mermaid-svg-WLorkBww2YrhlCkE g.classGroup text .title{font-weight:bolder;}#mermaid-svg-WLorkBww2YrhlCkE .nodeLabel,#mermaid-svg-WLorkBww2YrhlCkE .edgeLabel{color:#131300;}#mermaid-svg-WLorkBww2YrhlCkE .edgeLabel .label rect{fill:#ECECFF;}#mermaid-svg-WLorkBww2YrhlCkE .label text{fill:#131300;}#mermaid-svg-WLorkBww2YrhlCkE .edgeLabel .label span{background:#ECECFF;}#mermaid-svg-WLorkBww2YrhlCkE .classTitle{font-weight:bolder;}#mermaid-svg-WLorkBww2YrhlCkE .node rect,#mermaid-svg-WLorkBww2YrhlCkE .node circle,#mermaid-svg-WLorkBww2YrhlCkE .node ellipse,#mermaid-svg-WLorkBww2YrhlCkE .node polygon,#mermaid-svg-WLorkBww2YrhlCkE .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-WLorkBww2YrhlCkE .divider{stroke:#9370DB;stroke:1;}#mermaid-svg-WLorkBww2YrhlCkE g.clickable{cursor:pointer;}#mermaid-svg-WLorkBww2YrhlCkE g.classGroup rect{fill:#ECECFF;stroke:#9370DB;}#mermaid-svg-WLorkBww2YrhlCkE g.classGroup line{stroke:#9370DB;stroke-width:1;}#mermaid-svg-WLorkBww2YrhlCkE .classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5;}#mermaid-svg-WLorkBww2YrhlCkE .classLabel .label{fill:#9370DB;font-size:10px;}#mermaid-svg-WLorkBww2YrhlCkE .relation{stroke:#333333;stroke-width:1;fill:none;}#mermaid-svg-WLorkBww2YrhlCkE .dashed-line{stroke-dasharray:3;}#mermaid-svg-WLorkBww2YrhlCkE #compositionStart,#mermaid-svg-WLorkBww2YrhlCkE .composition{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-WLorkBww2YrhlCkE #compositionEnd,#mermaid-svg-WLorkBww2YrhlCkE .composition{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-WLorkBww2YrhlCkE #dependencyStart,#mermaid-svg-WLorkBww2YrhlCkE .dependency{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-WLorkBww2YrhlCkE #dependencyStart,#mermaid-svg-WLorkBww2YrhlCkE .dependency{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-WLorkBww2YrhlCkE #extensionStart,#mermaid-svg-WLorkBww2YrhlCkE .extension{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-WLorkBww2YrhlCkE #extensionEnd,#mermaid-svg-WLorkBww2YrhlCkE .extension{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-WLorkBww2YrhlCkE #aggregationStart,#mermaid-svg-WLorkBww2YrhlCkE .aggregation{fill:#ECECFF!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-WLorkBww2YrhlCkE #aggregationEnd,#mermaid-svg-WLorkBww2YrhlCkE .aggregation{fill:#ECECFF!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-WLorkBww2YrhlCkE .edgeTerminals{font-size:11px;}#mermaid-svg-WLorkBww2YrhlCkE :root{&#8211;mermaid-font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;}<span class=\"edgeLabel\"><span class=\"edgeLabel\">works with<\/span><\/span><span class=\"edgeLabel\"><span class=\"edgeLabel\">contains<\/span><\/span><span class=\"edgeLabel\"><span class=\"edgeLabel\">has<\/span><\/span><span class=\"nodeLabel\"><\/span><span class=\"nodeLabel\">Author<\/span><span class=\"nodeLabel\">&#8211; name: String<\/span><span class=\"nodeLabel\">&#043;writeBook()<\/span><span class=\"nodeLabel\"><\/span><span class=\"nodeLabel\">Publisher<\/span><span class=\"nodeLabel\">&#8211; name: String<\/span><span class=\"nodeLabel\">&#043;publish()<\/span><span class=\"nodeLabel\"><\/span><span class=\"nodeLabel\">ShoppingCart<\/span><span class=\"nodeLabel\">&#8211; items: List&lt;Product&gt;<\/span><span class=\"nodeLabel\">&#043;addItem(Product)<\/span><span class=\"nodeLabel\">&#043;checkout()<\/span><span class=\"nodeLabel\"><\/span><span class=\"nodeLabel\">Product<\/span><span class=\"nodeLabel\">&#8211; id: String<\/span><span class=\"nodeLabel\">&#8211; price: double<\/span><span class=\"nodeLabel\"><\/span><span class=\"nodeLabel\">House<\/span><span class=\"nodeLabel\">&#8211; address: String<\/span><span class=\"nodeLabel\"><\/span><span class=\"nodeLabel\">Room<\/span><span class=\"nodeLabel\">&#8211; size: int<\/span><\/p>\n<h4>2. \u5173\u8054\u5173\u7cfb(Association)\u8be6\u89e3<\/h4>\n<p>\u7279\u5f81&#xff1a;<\/p>\n<ul>\n<li>\u5e73\u7b49\u7684\u534f\u4f5c\u5173\u7cfb&#xff08;\u65e0\u6574\u4f53-\u90e8\u5206\u6982\u5ff5&#xff09;<\/li>\n<li>\u751f\u547d\u5468\u671f\u76f8\u4e92\u72ec\u7acb<\/li>\n<li>\u901a\u5e38\u901a\u8fc7\u6784\u9020\u51fd\u6570\u6216setter\u6ce8\u5165\u4f9d\u8d56<\/li>\n<\/ul>\n<p>\u4ee3\u7801\u5b9e\u73b0&#xff1a;<\/p>\n<p><span class=\"token comment\">\/\/ \u5173\u8054\u5173\u7cfb\u793a\u4f8b<\/span><br \/>\n<span class=\"token keyword\">class<\/span> <span class=\"token class-name\">Author<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token keyword\">private<\/span> <span class=\"token class-name\">Publisher<\/span> publisher<span class=\"token punctuation\">;<\/span>  <span class=\"token comment\">\/\/ \u6210\u5458\u53d8\u91cf\u5b9e\u73b0\u5173\u8054<\/span><\/p>\n<p>    <span class=\"token comment\">\/\/ \u4f9d\u8d56\u901a\u8fc7\u5916\u90e8\u4f20\u5165&#xff08;\u4f53\u73b0\u751f\u547d\u5468\u671f\u72ec\u7acb&#xff09;<\/span><br \/>\n    <span class=\"token keyword\">public<\/span> <span class=\"token class-name\">Author<\/span><span class=\"token punctuation\">(<\/span><span class=\"token class-name\">Publisher<\/span> publisher<span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token keyword\">this<\/span><span class=\"token punctuation\">.<\/span>publisher <span class=\"token operator\">&#061;<\/span> publisher<span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><\/p>\n<p>    <span class=\"token keyword\">public<\/span> <span class=\"token keyword\">void<\/span> <span class=\"token function\">setPublisher<\/span><span class=\"token punctuation\">(<\/span><span class=\"token class-name\">Publisher<\/span> publisher<span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token keyword\">this<\/span><span class=\"token punctuation\">.<\/span>publisher <span class=\"token operator\">&#061;<\/span> publisher<span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p><span class=\"token keyword\">class<\/span> <span class=\"token class-name\">Publisher<\/span> <span class=\"token punctuation\">{<\/span> <span class=\"token comment\">\/* \u51fa\u7248\u793e\u5b9e\u73b0 *\/<\/span> <span class=\"token punctuation\">}<\/span><\/p>\n<p>Mermaid\u8868\u793a&#xff1a;<\/p>\n<p>#mermaid-svg-MS2F9I6TdalhsbP4 {font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;fill:#333;}#mermaid-svg-MS2F9I6TdalhsbP4 .error-icon{fill:#552222;}#mermaid-svg-MS2F9I6TdalhsbP4 .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-MS2F9I6TdalhsbP4 .edge-thickness-normal{stroke-width:2px;}#mermaid-svg-MS2F9I6TdalhsbP4 .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-MS2F9I6TdalhsbP4 .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-MS2F9I6TdalhsbP4 .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-MS2F9I6TdalhsbP4 .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-MS2F9I6TdalhsbP4 .marker{fill:#333333;stroke:#333333;}#mermaid-svg-MS2F9I6TdalhsbP4 .marker.cross{stroke:#333333;}#mermaid-svg-MS2F9I6TdalhsbP4 svg{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-MS2F9I6TdalhsbP4 g.classGroup text{fill:#9370DB;fill:#131300;stroke:none;font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:10px;}#mermaid-svg-MS2F9I6TdalhsbP4 g.classGroup text .title{font-weight:bolder;}#mermaid-svg-MS2F9I6TdalhsbP4 .nodeLabel,#mermaid-svg-MS2F9I6TdalhsbP4 .edgeLabel{color:#131300;}#mermaid-svg-MS2F9I6TdalhsbP4 .edgeLabel .label rect{fill:#ECECFF;}#mermaid-svg-MS2F9I6TdalhsbP4 .label text{fill:#131300;}#mermaid-svg-MS2F9I6TdalhsbP4 .edgeLabel .label span{background:#ECECFF;}#mermaid-svg-MS2F9I6TdalhsbP4 .classTitle{font-weight:bolder;}#mermaid-svg-MS2F9I6TdalhsbP4 .node rect,#mermaid-svg-MS2F9I6TdalhsbP4 .node circle,#mermaid-svg-MS2F9I6TdalhsbP4 .node ellipse,#mermaid-svg-MS2F9I6TdalhsbP4 .node polygon,#mermaid-svg-MS2F9I6TdalhsbP4 .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-MS2F9I6TdalhsbP4 .divider{stroke:#9370DB;stroke:1;}#mermaid-svg-MS2F9I6TdalhsbP4 g.clickable{cursor:pointer;}#mermaid-svg-MS2F9I6TdalhsbP4 g.classGroup rect{fill:#ECECFF;stroke:#9370DB;}#mermaid-svg-MS2F9I6TdalhsbP4 g.classGroup line{stroke:#9370DB;stroke-width:1;}#mermaid-svg-MS2F9I6TdalhsbP4 .classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5;}#mermaid-svg-MS2F9I6TdalhsbP4 .classLabel .label{fill:#9370DB;font-size:10px;}#mermaid-svg-MS2F9I6TdalhsbP4 .relation{stroke:#333333;stroke-width:1;fill:none;}#mermaid-svg-MS2F9I6TdalhsbP4 .dashed-line{stroke-dasharray:3;}#mermaid-svg-MS2F9I6TdalhsbP4 #compositionStart,#mermaid-svg-MS2F9I6TdalhsbP4 .composition{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-MS2F9I6TdalhsbP4 #compositionEnd,#mermaid-svg-MS2F9I6TdalhsbP4 .composition{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-MS2F9I6TdalhsbP4 #dependencyStart,#mermaid-svg-MS2F9I6TdalhsbP4 .dependency{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-MS2F9I6TdalhsbP4 #dependencyStart,#mermaid-svg-MS2F9I6TdalhsbP4 .dependency{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-MS2F9I6TdalhsbP4 #extensionStart,#mermaid-svg-MS2F9I6TdalhsbP4 .extension{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-MS2F9I6TdalhsbP4 #extensionEnd,#mermaid-svg-MS2F9I6TdalhsbP4 .extension{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-MS2F9I6TdalhsbP4 #aggregationStart,#mermaid-svg-MS2F9I6TdalhsbP4 .aggregation{fill:#ECECFF!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-MS2F9I6TdalhsbP4 #aggregationEnd,#mermaid-svg-MS2F9I6TdalhsbP4 .aggregation{fill:#ECECFF!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-MS2F9I6TdalhsbP4 .edgeTerminals{font-size:11px;}#mermaid-svg-MS2F9I6TdalhsbP4 :root{&#8211;mermaid-font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;}<span class=\"edgeLabel\"><span class=\"edgeLabel\">&#034;0..*&#034; works with &#034;1..*&#034;<\/span><\/span><span class=\"nodeLabel\"><\/span><span class=\"nodeLabel\">Author<\/span><span class=\"nodeLabel\"><\/span><span class=\"nodeLabel\">Publisher<\/span><\/p>\n<p>\u751f\u547d\u5468\u671f\u56fe\u793a&#xff1a;<\/p>\n<p>#mermaid-svg-6kQ9dd6OxRebW8Pt {font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;fill:#333;}#mermaid-svg-6kQ9dd6OxRebW8Pt .error-icon{fill:#552222;}#mermaid-svg-6kQ9dd6OxRebW8Pt .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-6kQ9dd6OxRebW8Pt .edge-thickness-normal{stroke-width:2px;}#mermaid-svg-6kQ9dd6OxRebW8Pt .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-6kQ9dd6OxRebW8Pt .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-6kQ9dd6OxRebW8Pt .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-6kQ9dd6OxRebW8Pt .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-6kQ9dd6OxRebW8Pt .marker{fill:#333333;stroke:#333333;}#mermaid-svg-6kQ9dd6OxRebW8Pt .marker.cross{stroke:#333333;}#mermaid-svg-6kQ9dd6OxRebW8Pt svg{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-6kQ9dd6OxRebW8Pt .label{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;color:#333;}#mermaid-svg-6kQ9dd6OxRebW8Pt .cluster-label text{fill:#333;}#mermaid-svg-6kQ9dd6OxRebW8Pt .cluster-label span{color:#333;}#mermaid-svg-6kQ9dd6OxRebW8Pt .label text,#mermaid-svg-6kQ9dd6OxRebW8Pt span{fill:#333;color:#333;}#mermaid-svg-6kQ9dd6OxRebW8Pt .node rect,#mermaid-svg-6kQ9dd6OxRebW8Pt .node circle,#mermaid-svg-6kQ9dd6OxRebW8Pt .node ellipse,#mermaid-svg-6kQ9dd6OxRebW8Pt .node polygon,#mermaid-svg-6kQ9dd6OxRebW8Pt .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-6kQ9dd6OxRebW8Pt .node .label{text-align:center;}#mermaid-svg-6kQ9dd6OxRebW8Pt .node.clickable{cursor:pointer;}#mermaid-svg-6kQ9dd6OxRebW8Pt .arrowheadPath{fill:#333333;}#mermaid-svg-6kQ9dd6OxRebW8Pt .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-6kQ9dd6OxRebW8Pt .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-6kQ9dd6OxRebW8Pt .edgeLabel{background-color:#e8e8e8;text-align:center;}#mermaid-svg-6kQ9dd6OxRebW8Pt .edgeLabel rect{opacity:0.5;background-color:#e8e8e8;fill:#e8e8e8;}#mermaid-svg-6kQ9dd6OxRebW8Pt .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-6kQ9dd6OxRebW8Pt .cluster text{fill:#333;}#mermaid-svg-6kQ9dd6OxRebW8Pt .cluster span{color:#333;}#mermaid-svg-6kQ9dd6OxRebW8Pt div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-6kQ9dd6OxRebW8Pt :root{&#8211;mermaid-font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;}<span id=\"L-L-A-B\" class=\"edgeLabel L-LS-A&#039; L-LE-B\">\u4f7f\u7528<\/span><span id=\"L-L-C-A\" class=\"edgeLabel L-LS-C&#039; L-LE-A\">\u53ef\u66ff\u6362<\/span><span id=\"L-L-D-A\" class=\"edgeLabel L-LS-D&#039; L-LE-A\">\u4e0d\u5f71\u54cd<\/span>Author\u5bf9\u8c61Publisher\u5bf9\u8c61\u65b0Publisher\u5bf9\u8c61Publisher\u9500\u6bc1<\/p>\n<h4>3. \u805a\u5408\u5173\u7cfb(Aggregation)\u8be6\u89e3<\/h4>\n<p>\u7279\u5f81&#xff1a;<\/p>\n<ul>\n<li>\u660e\u786e\u7684\u6574\u4f53-\u90e8\u5206\u5173\u7cfb&#xff08;\u7a7a\u5fc3\u83f1\u5f62\u7aef\u662f\u6574\u4f53&#xff09;<\/li>\n<li>\u90e8\u5206\u53ef\u4ee5\u72ec\u7acb\u4e8e\u6574\u4f53\u5b58\u5728<\/li>\n<li>\u6574\u4f53\u4e0d\u8d1f\u8d23\u90e8\u5206\u7684\u521b\u5efa\u4e0e\u9500\u6bc1<\/li>\n<\/ul>\n<p>\u4ee3\u7801\u5b9e\u73b0&#xff1a;<\/p>\n<p><span class=\"token comment\">\/\/ \u805a\u5408\u5173\u7cfb\u793a\u4f8b<\/span><br \/>\n<span class=\"token keyword\">class<\/span> <span class=\"token class-name\">ShoppingCart<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token keyword\">private<\/span> <span class=\"token class-name\">List<\/span><span class=\"token generics\"><span class=\"token punctuation\">&lt;<\/span><span class=\"token class-name\">Product<\/span><span class=\"token punctuation\">&gt;<\/span><\/span> items <span class=\"token operator\">&#061;<\/span> <span class=\"token keyword\">new<\/span> <span class=\"token class-name\">ArrayList<\/span><span class=\"token generics\"><span class=\"token punctuation\">&lt;<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span>  <span class=\"token comment\">\/\/ \u6210\u5458\u53d8\u91cf\u5b9e\u73b0\u805a\u5408<\/span><\/p>\n<p>    <span class=\"token comment\">\/\/ \u6dfb\u52a0\u5df2\u5b58\u5728\u7684\u4ea7\u54c1\u5bf9\u8c61<\/span><br \/>\n    <span class=\"token keyword\">public<\/span> <span class=\"token keyword\">void<\/span> <span class=\"token function\">addItem<\/span><span class=\"token punctuation\">(<\/span><span class=\"token class-name\">Product<\/span> product<span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        items<span class=\"token punctuation\">.<\/span><span class=\"token function\">add<\/span><span class=\"token punctuation\">(<\/span>product<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><\/p>\n<p>    <span class=\"token comment\">\/\/ \u79fb\u9664\u4ea7\u54c1\u4f46\u4e0d\u4f1a\u9500\u6bc1\u5b83<\/span><br \/>\n    <span class=\"token keyword\">public<\/span> <span class=\"token keyword\">void<\/span> <span class=\"token function\">removeItem<\/span><span class=\"token punctuation\">(<\/span><span class=\"token class-name\">Product<\/span> product<span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        items<span class=\"token punctuation\">.<\/span><span class=\"token function\">remove<\/span><span class=\"token punctuation\">(<\/span>product<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p><span class=\"token keyword\">class<\/span> <span class=\"token class-name\">Product<\/span> <span class=\"token punctuation\">{<\/span> <span class=\"token comment\">\/* \u4ea7\u54c1\u72ec\u7acb\u5b58\u5728 *\/<\/span> <span class=\"token punctuation\">}<\/span><\/p>\n<p>Mermaid\u8868\u793a&#xff1a;<\/p>\n<p>#mermaid-svg-JU3cQITPEYs2NOhl {font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;fill:#333;}#mermaid-svg-JU3cQITPEYs2NOhl .error-icon{fill:#552222;}#mermaid-svg-JU3cQITPEYs2NOhl .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-JU3cQITPEYs2NOhl .edge-thickness-normal{stroke-width:2px;}#mermaid-svg-JU3cQITPEYs2NOhl .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-JU3cQITPEYs2NOhl .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-JU3cQITPEYs2NOhl .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-JU3cQITPEYs2NOhl .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-JU3cQITPEYs2NOhl .marker{fill:#333333;stroke:#333333;}#mermaid-svg-JU3cQITPEYs2NOhl .marker.cross{stroke:#333333;}#mermaid-svg-JU3cQITPEYs2NOhl svg{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-JU3cQITPEYs2NOhl g.classGroup text{fill:#9370DB;fill:#131300;stroke:none;font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:10px;}#mermaid-svg-JU3cQITPEYs2NOhl g.classGroup text .title{font-weight:bolder;}#mermaid-svg-JU3cQITPEYs2NOhl .nodeLabel,#mermaid-svg-JU3cQITPEYs2NOhl .edgeLabel{color:#131300;}#mermaid-svg-JU3cQITPEYs2NOhl .edgeLabel .label rect{fill:#ECECFF;}#mermaid-svg-JU3cQITPEYs2NOhl .label text{fill:#131300;}#mermaid-svg-JU3cQITPEYs2NOhl .edgeLabel .label span{background:#ECECFF;}#mermaid-svg-JU3cQITPEYs2NOhl .classTitle{font-weight:bolder;}#mermaid-svg-JU3cQITPEYs2NOhl .node rect,#mermaid-svg-JU3cQITPEYs2NOhl .node circle,#mermaid-svg-JU3cQITPEYs2NOhl .node ellipse,#mermaid-svg-JU3cQITPEYs2NOhl .node polygon,#mermaid-svg-JU3cQITPEYs2NOhl .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-JU3cQITPEYs2NOhl .divider{stroke:#9370DB;stroke:1;}#mermaid-svg-JU3cQITPEYs2NOhl g.clickable{cursor:pointer;}#mermaid-svg-JU3cQITPEYs2NOhl g.classGroup rect{fill:#ECECFF;stroke:#9370DB;}#mermaid-svg-JU3cQITPEYs2NOhl g.classGroup line{stroke:#9370DB;stroke-width:1;}#mermaid-svg-JU3cQITPEYs2NOhl .classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5;}#mermaid-svg-JU3cQITPEYs2NOhl .classLabel .label{fill:#9370DB;font-size:10px;}#mermaid-svg-JU3cQITPEYs2NOhl .relation{stroke:#333333;stroke-width:1;fill:none;}#mermaid-svg-JU3cQITPEYs2NOhl .dashed-line{stroke-dasharray:3;}#mermaid-svg-JU3cQITPEYs2NOhl #compositionStart,#mermaid-svg-JU3cQITPEYs2NOhl .composition{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-JU3cQITPEYs2NOhl #compositionEnd,#mermaid-svg-JU3cQITPEYs2NOhl .composition{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-JU3cQITPEYs2NOhl #dependencyStart,#mermaid-svg-JU3cQITPEYs2NOhl .dependency{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-JU3cQITPEYs2NOhl #dependencyStart,#mermaid-svg-JU3cQITPEYs2NOhl .dependency{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-JU3cQITPEYs2NOhl #extensionStart,#mermaid-svg-JU3cQITPEYs2NOhl .extension{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-JU3cQITPEYs2NOhl #extensionEnd,#mermaid-svg-JU3cQITPEYs2NOhl .extension{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-JU3cQITPEYs2NOhl #aggregationStart,#mermaid-svg-JU3cQITPEYs2NOhl .aggregation{fill:#ECECFF!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-JU3cQITPEYs2NOhl #aggregationEnd,#mermaid-svg-JU3cQITPEYs2NOhl .aggregation{fill:#ECECFF!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-JU3cQITPEYs2NOhl .edgeTerminals{font-size:11px;}#mermaid-svg-JU3cQITPEYs2NOhl :root{&#8211;mermaid-font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;}<span class=\"edgeLabel\"><span class=\"edgeLabel\">contains<\/span><\/span><span class=\"edgeLabel\">0..*<\/span><span class=\"nodeLabel\"><\/span><span class=\"nodeLabel\">ShoppingCart<\/span><span class=\"nodeLabel\">&#8211; items: List&lt;Product&gt;<\/span><span class=\"nodeLabel\">&#043;addItem(Product)<\/span><span class=\"nodeLabel\">&#043;removeItem(Product)<\/span><span class=\"nodeLabel\"><\/span><span class=\"nodeLabel\">Product<\/span><span class=\"nodeLabel\">&#8211; id: String<\/span><span class=\"nodeLabel\">&#8211; price: double<\/span><\/p>\n<p>\u751f\u547d\u5468\u671f\u56fe\u793a&#xff1a;<\/p>\n<p>#mermaid-svg-bYzxMp3McL8th84g {font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;fill:#333;}#mermaid-svg-bYzxMp3McL8th84g .error-icon{fill:#552222;}#mermaid-svg-bYzxMp3McL8th84g .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-bYzxMp3McL8th84g .edge-thickness-normal{stroke-width:2px;}#mermaid-svg-bYzxMp3McL8th84g .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-bYzxMp3McL8th84g .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-bYzxMp3McL8th84g .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-bYzxMp3McL8th84g .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-bYzxMp3McL8th84g .marker{fill:#333333;stroke:#333333;}#mermaid-svg-bYzxMp3McL8th84g .marker.cross{stroke:#333333;}#mermaid-svg-bYzxMp3McL8th84g svg{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-bYzxMp3McL8th84g .label{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;color:#333;}#mermaid-svg-bYzxMp3McL8th84g .cluster-label text{fill:#333;}#mermaid-svg-bYzxMp3McL8th84g .cluster-label span{color:#333;}#mermaid-svg-bYzxMp3McL8th84g .label text,#mermaid-svg-bYzxMp3McL8th84g span{fill:#333;color:#333;}#mermaid-svg-bYzxMp3McL8th84g .node rect,#mermaid-svg-bYzxMp3McL8th84g .node circle,#mermaid-svg-bYzxMp3McL8th84g .node ellipse,#mermaid-svg-bYzxMp3McL8th84g .node polygon,#mermaid-svg-bYzxMp3McL8th84g .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-bYzxMp3McL8th84g .node .label{text-align:center;}#mermaid-svg-bYzxMp3McL8th84g .node.clickable{cursor:pointer;}#mermaid-svg-bYzxMp3McL8th84g .arrowheadPath{fill:#333333;}#mermaid-svg-bYzxMp3McL8th84g .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-bYzxMp3McL8th84g .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-bYzxMp3McL8th84g .edgeLabel{background-color:#e8e8e8;text-align:center;}#mermaid-svg-bYzxMp3McL8th84g .edgeLabel rect{opacity:0.5;background-color:#e8e8e8;fill:#e8e8e8;}#mermaid-svg-bYzxMp3McL8th84g .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-bYzxMp3McL8th84g .cluster text{fill:#333;}#mermaid-svg-bYzxMp3McL8th84g .cluster span{color:#333;}#mermaid-svg-bYzxMp3McL8th84g div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-bYzxMp3McL8th84g :root{&#8211;mermaid-font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;}\u72ec\u7acb\u5b58\u5728\u533a<span id=\"L-L-Whole-Part1\" class=\"edgeLabel L-LS-Whole&#039; L-LE-Part1\"><\/span><span id=\"L-L-Whole-Part2\" class=\"edgeLabel L-LS-Whole&#039; L-LE-Part2\"><\/span><span id=\"L-L-NewPart-Whole\" class=\"edgeLabel L-LS-NewPart&#039; L-LE-Whole\">\u53ef\u52a0\u5165<\/span><span id=\"L-L-Whole-Part1\" class=\"edgeLabel L-LS-Whole&#039; L-LE-Part1\">\u9500\u6bc1\u540e<\/span><span id=\"L-L-Whole-Part2\" class=\"edgeLabel L-LS-Whole&#039; L-LE-Part2\">\u4e0d\u5f71\u54cd<\/span>\u5546\u54c1A\u5546\u54c1B\u65b0\u5546\u54c1\u8d2d\u7269\u8f66<\/p>\n<h4>4. \u5173\u952e\u533a\u522b\u5bf9\u6bd4\u8868<\/h4>\n<table>\n<tr>\u7279\u5f81\u5173\u8054(Association)\u805a\u5408(Aggregation)<\/tr>\n<tbody>\n<tr>\n<td>UML\u8868\u793a<\/td>\n<td>\u5b9e\u7ebf\u7bad\u5934 &#8211;&gt;<\/td>\n<td>\u7a7a\u5fc3\u83f1\u5f62 o&#8211;<\/td>\n<\/tr>\n<tr>\n<td>\u5173\u7cfb\u672c\u8d28<\/td>\n<td>\u534f\u4f5c\u5173\u7cfb<\/td>\n<td>\u6574\u4f53-\u90e8\u5206\u5173\u7cfb<\/td>\n<\/tr>\n<tr>\n<td>\u751f\u547d\u5468\u671f\u4f9d\u8d56<\/td>\n<td>\u65e0\u4f9d\u8d56<\/td>\n<td>\u90e8\u5206\u72ec\u7acb\u4e8e\u6574\u4f53<\/td>\n<\/tr>\n<tr>\n<td>\u5bf9\u8c61\u521b\u5efa<\/td>\n<td>\u901a\u5e38\u5916\u90e8\u4f20\u5165<\/td>\n<td>\u53ef\u5916\u90e8\u4f20\u5165\u6216\u5185\u90e8\u521b\u5efa<\/td>\n<\/tr>\n<tr>\n<td>\u5bf9\u8c61\u9500\u6bc1\u8d23\u4efb<\/td>\n<td>\u4e0d\u8d1f\u8d23\u5173\u8054\u5bf9\u8c61\u9500\u6bc1<\/td>\n<td>\u4e0d\u8d1f\u8d23\u90e8\u5206\u5bf9\u8c61\u9500\u6bc1<\/td>\n<\/tr>\n<tr>\n<td>\u591a\u91cd\u6027\u793a\u4f8b<\/td>\n<td>1\u5bf91, 1\u5bf9\u591a, \u591a\u5bf9\u591a<\/td>\n<td>\u6574\u4f53\u62e5\u67090\u2026*\u4e2a\u90e8\u5206<\/td>\n<\/tr>\n<tr>\n<td>\u5178\u578b\u4ee3\u7801<\/td>\n<td>\u6210\u5458\u53d8\u91cf\u6301\u6709\u5f15\u7528<\/td>\n<td>\u96c6\u5408\u6301\u6709\u90e8\u5206\u5bf9\u8c61\u5f15\u7528<\/td>\n<\/tr>\n<tr>\n<td>\u5173\u7cfb\u5f3a\u5ea6<\/td>\n<td>\u8f83\u5f31<\/td>\n<td>\u4e2d\u7b49&#xff08;\u5f3a\u4e8e\u5173\u8054&#xff0c;\u5f31\u4e8e\u7ec4\u5408&#xff09;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>5. \u66f4\u591a\u793a\u4f8b\u5bf9\u6bd4<\/h4>\n<h5>\u5927\u5b66\u9662\u7cfb\u7ed3\u6784&#xff08;\u805a\u5408&#xff09;<\/h5>\n<p>#mermaid-svg-M8LYU3FQdn2nTOF3 {font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;fill:#333;}#mermaid-svg-M8LYU3FQdn2nTOF3 .error-icon{fill:#552222;}#mermaid-svg-M8LYU3FQdn2nTOF3 .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-M8LYU3FQdn2nTOF3 .edge-thickness-normal{stroke-width:2px;}#mermaid-svg-M8LYU3FQdn2nTOF3 .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-M8LYU3FQdn2nTOF3 .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-M8LYU3FQdn2nTOF3 .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-M8LYU3FQdn2nTOF3 .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-M8LYU3FQdn2nTOF3 .marker{fill:#333333;stroke:#333333;}#mermaid-svg-M8LYU3FQdn2nTOF3 .marker.cross{stroke:#333333;}#mermaid-svg-M8LYU3FQdn2nTOF3 svg{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-M8LYU3FQdn2nTOF3 g.classGroup text{fill:#9370DB;fill:#131300;stroke:none;font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:10px;}#mermaid-svg-M8LYU3FQdn2nTOF3 g.classGroup text .title{font-weight:bolder;}#mermaid-svg-M8LYU3FQdn2nTOF3 .nodeLabel,#mermaid-svg-M8LYU3FQdn2nTOF3 .edgeLabel{color:#131300;}#mermaid-svg-M8LYU3FQdn2nTOF3 .edgeLabel .label rect{fill:#ECECFF;}#mermaid-svg-M8LYU3FQdn2nTOF3 .label text{fill:#131300;}#mermaid-svg-M8LYU3FQdn2nTOF3 .edgeLabel .label span{background:#ECECFF;}#mermaid-svg-M8LYU3FQdn2nTOF3 .classTitle{font-weight:bolder;}#mermaid-svg-M8LYU3FQdn2nTOF3 .node rect,#mermaid-svg-M8LYU3FQdn2nTOF3 .node circle,#mermaid-svg-M8LYU3FQdn2nTOF3 .node ellipse,#mermaid-svg-M8LYU3FQdn2nTOF3 .node polygon,#mermaid-svg-M8LYU3FQdn2nTOF3 .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-M8LYU3FQdn2nTOF3 .divider{stroke:#9370DB;stroke:1;}#mermaid-svg-M8LYU3FQdn2nTOF3 g.clickable{cursor:pointer;}#mermaid-svg-M8LYU3FQdn2nTOF3 g.classGroup rect{fill:#ECECFF;stroke:#9370DB;}#mermaid-svg-M8LYU3FQdn2nTOF3 g.classGroup line{stroke:#9370DB;stroke-width:1;}#mermaid-svg-M8LYU3FQdn2nTOF3 .classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5;}#mermaid-svg-M8LYU3FQdn2nTOF3 .classLabel .label{fill:#9370DB;font-size:10px;}#mermaid-svg-M8LYU3FQdn2nTOF3 .relation{stroke:#333333;stroke-width:1;fill:none;}#mermaid-svg-M8LYU3FQdn2nTOF3 .dashed-line{stroke-dasharray:3;}#mermaid-svg-M8LYU3FQdn2nTOF3 #compositionStart,#mermaid-svg-M8LYU3FQdn2nTOF3 .composition{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-M8LYU3FQdn2nTOF3 #compositionEnd,#mermaid-svg-M8LYU3FQdn2nTOF3 .composition{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-M8LYU3FQdn2nTOF3 #dependencyStart,#mermaid-svg-M8LYU3FQdn2nTOF3 .dependency{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-M8LYU3FQdn2nTOF3 #dependencyStart,#mermaid-svg-M8LYU3FQdn2nTOF3 .dependency{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-M8LYU3FQdn2nTOF3 #extensionStart,#mermaid-svg-M8LYU3FQdn2nTOF3 .extension{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-M8LYU3FQdn2nTOF3 #extensionEnd,#mermaid-svg-M8LYU3FQdn2nTOF3 .extension{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-M8LYU3FQdn2nTOF3 #aggregationStart,#mermaid-svg-M8LYU3FQdn2nTOF3 .aggregation{fill:#ECECFF!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-M8LYU3FQdn2nTOF3 #aggregationEnd,#mermaid-svg-M8LYU3FQdn2nTOF3 .aggregation{fill:#ECECFF!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-M8LYU3FQdn2nTOF3 .edgeTerminals{font-size:11px;}#mermaid-svg-M8LYU3FQdn2nTOF3 :root{&#8211;mermaid-font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;}<span class=\"edgeLabel\"><span class=\"edgeLabel\">has faculties<\/span><\/span><span class=\"edgeLabel\">1..*<\/span><span class=\"nodeLabel\"><\/span><span class=\"nodeLabel\">University<\/span><span class=\"nodeLabel\">&#8211; name: String<\/span><span class=\"nodeLabel\"><\/span><span class=\"nodeLabel\">Department<\/span><span class=\"nodeLabel\">&#8211; name: String<\/span><\/p>\n<h5>\u5e08\u751f\u5173\u7cfb&#xff08;\u5173\u8054&#xff09;<\/h5>\n<p>#mermaid-svg-t0OUDSXolpyCjUb5 {font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;fill:#333;}#mermaid-svg-t0OUDSXolpyCjUb5 .error-icon{fill:#552222;}#mermaid-svg-t0OUDSXolpyCjUb5 .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-t0OUDSXolpyCjUb5 .edge-thickness-normal{stroke-width:2px;}#mermaid-svg-t0OUDSXolpyCjUb5 .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-t0OUDSXolpyCjUb5 .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-t0OUDSXolpyCjUb5 .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-t0OUDSXolpyCjUb5 .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-t0OUDSXolpyCjUb5 .marker{fill:#333333;stroke:#333333;}#mermaid-svg-t0OUDSXolpyCjUb5 .marker.cross{stroke:#333333;}#mermaid-svg-t0OUDSXolpyCjUb5 svg{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-t0OUDSXolpyCjUb5 g.classGroup text{fill:#9370DB;fill:#131300;stroke:none;font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:10px;}#mermaid-svg-t0OUDSXolpyCjUb5 g.classGroup text .title{font-weight:bolder;}#mermaid-svg-t0OUDSXolpyCjUb5 .nodeLabel,#mermaid-svg-t0OUDSXolpyCjUb5 .edgeLabel{color:#131300;}#mermaid-svg-t0OUDSXolpyCjUb5 .edgeLabel .label rect{fill:#ECECFF;}#mermaid-svg-t0OUDSXolpyCjUb5 .label text{fill:#131300;}#mermaid-svg-t0OUDSXolpyCjUb5 .edgeLabel .label span{background:#ECECFF;}#mermaid-svg-t0OUDSXolpyCjUb5 .classTitle{font-weight:bolder;}#mermaid-svg-t0OUDSXolpyCjUb5 .node rect,#mermaid-svg-t0OUDSXolpyCjUb5 .node circle,#mermaid-svg-t0OUDSXolpyCjUb5 .node ellipse,#mermaid-svg-t0OUDSXolpyCjUb5 .node polygon,#mermaid-svg-t0OUDSXolpyCjUb5 .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-t0OUDSXolpyCjUb5 .divider{stroke:#9370DB;stroke:1;}#mermaid-svg-t0OUDSXolpyCjUb5 g.clickable{cursor:pointer;}#mermaid-svg-t0OUDSXolpyCjUb5 g.classGroup rect{fill:#ECECFF;stroke:#9370DB;}#mermaid-svg-t0OUDSXolpyCjUb5 g.classGroup line{stroke:#9370DB;stroke-width:1;}#mermaid-svg-t0OUDSXolpyCjUb5 .classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5;}#mermaid-svg-t0OUDSXolpyCjUb5 .classLabel .label{fill:#9370DB;font-size:10px;}#mermaid-svg-t0OUDSXolpyCjUb5 .relation{stroke:#333333;stroke-width:1;fill:none;}#mermaid-svg-t0OUDSXolpyCjUb5 .dashed-line{stroke-dasharray:3;}#mermaid-svg-t0OUDSXolpyCjUb5 #compositionStart,#mermaid-svg-t0OUDSXolpyCjUb5 .composition{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-t0OUDSXolpyCjUb5 #compositionEnd,#mermaid-svg-t0OUDSXolpyCjUb5 .composition{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-t0OUDSXolpyCjUb5 #dependencyStart,#mermaid-svg-t0OUDSXolpyCjUb5 .dependency{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-t0OUDSXolpyCjUb5 #dependencyStart,#mermaid-svg-t0OUDSXolpyCjUb5 .dependency{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-t0OUDSXolpyCjUb5 #extensionStart,#mermaid-svg-t0OUDSXolpyCjUb5 .extension{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-t0OUDSXolpyCjUb5 #extensionEnd,#mermaid-svg-t0OUDSXolpyCjUb5 .extension{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-t0OUDSXolpyCjUb5 #aggregationStart,#mermaid-svg-t0OUDSXolpyCjUb5 .aggregation{fill:#ECECFF!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-t0OUDSXolpyCjUb5 #aggregationEnd,#mermaid-svg-t0OUDSXolpyCjUb5 .aggregation{fill:#ECECFF!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-t0OUDSXolpyCjUb5 .edgeTerminals{font-size:11px;}#mermaid-svg-t0OUDSXolpyCjUb5 :root{&#8211;mermaid-font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;}<span class=\"edgeLabel\"><span class=\"edgeLabel\">teaches<\/span><\/span><span class=\"edgeLabel\">1<\/span><span class=\"edgeLabel\">0..*<\/span><span class=\"nodeLabel\"><\/span><span class=\"nodeLabel\">Professor<\/span><span class=\"nodeLabel\">&#8211; name: String<\/span><span class=\"nodeLabel\"><\/span><span class=\"nodeLabel\">Student<\/span><span class=\"nodeLabel\">&#8211; id: String<\/span><\/p>\n<h4>6. \u5224\u65ad\u6280\u5de7\u6d41\u7a0b\u56fe<\/h4>\n<p>graph TD<br \/>\n    A[\u4e24\u4e2a\u7c7b\u6709\u6210\u5458\u53d8\u91cf\u5173\u8054] &#8211;&gt; B{\u662f\u5426\u5b58\u5728\u6574\u4f53-\u90e8\u5206\u5173\u7cfb&#xff1f;}<br \/>\n    B &#8211;&gt;|\u5426| C[\u5173\u8054 Association]<br \/>\n    B &#8211;&gt;|\u662f| D{\u90e8\u5206\u80fd\u5426\u72ec\u7acb\u5b58\u5728&#xff1f;}<br \/>\n    D &#8211;&gt;|\u662f| E[\u805a\u5408 Aggregation]<br \/>\n    D &#8211;&gt;|\u5426| F[\u7ec4\u5408 Composition]<\/p>\n<p>    style C fill:#cff,stroke:#333<br \/>\n    style E fill:#cfc,stroke:#333<br \/>\n    style F fill:#fcc,stroke:#333<\/p>\n<h4>\u5173\u952e\u7ed3\u8bba&#xff1a;<\/h4>\n<li>\u8bed\u6cd5\u76f8\u540c&#xff0c;\u8bed\u4e49\u4e0d\u540c&#xff1a;\u4e24\u79cd\u5173\u7cfb\u5728\u4ee3\u7801\u4e2d\u90fd\u8868\u73b0\u4e3a\u6210\u5458\u53d8\u91cf&#xff0c;\u533a\u522b\u5728\u4e8e\u8bbe\u8ba1\u610f\u56fe<\/li>\n<li>\u751f\u547d\u5468\u671f\u662f\u5173\u952e&#xff1a;\u805a\u5408\u7684\u90e8\u5206\u5bf9\u8c61\u53ef\u4ee5\u8131\u79bb\u6574\u4f53\u72ec\u7acb\u5b58\u5728<\/li>\n<li>\u7a7a\u5fc3\u83f1\u5f62\u662f\u6807\u5fd7&#xff1a;UML\u4e2d\u805a\u5408\u4f7f\u7528\u7a7a\u5fc3\u83f1\u5f62\u6307\u5411\u6574\u4f53\u7aef<\/li>\n<li>\u6574\u4f53-\u90e8\u5206\u5173\u7cfb&#xff1a;\u805a\u5408\u5fc5\u987b\u5177\u6709&#034;\u5305\u542b&#034;\u8bed\u4e49&#xff08;\u5982\u8d2d\u7269\u8f66\u5305\u542b\u5546\u54c1&#xff09;<\/li>\n<li>\u72ec\u7acb\u6027\u6d4b\u8bd5&#xff1a;\u5f53\u6574\u4f53\u9500\u6bc1\u65f6&#xff0c;\u5982\u679c\u90e8\u5206\u4ecd\u7136\u5408\u7406\u5b58\u5728&#xff0c;\u5c31\u662f\u805a\u5408<\/li>\n<p>\u901a\u8fc7Mermaid\u56fe\u5f62\u7684\u53ef\u89c6\u5316\u5c55\u793a&#xff0c;\u53ef\u4ee5\u6e05\u6670\u770b\u5230\u805a\u5408\u5173\u7cfb\u4e2d\u7684\u7a7a\u5fc3\u83f1\u5f62\u8868\u793a\u6574\u4f53\u7aef&#xff0c;\u800c\u5173\u8054\u662f\u7b80\u5355\u7684\u5b9e\u7ebf\u7bad\u5934\u3002\u5728\u5b9e\u9645\u5efa\u6a21\u4e2d&#xff0c;\u5e94\u8be5\u6839\u636e\u4e1a\u52a1\u8bed\u4e49&#xff08;\u800c\u975e\u4ee3\u7801\u7ed3\u6784&#xff09;\u6765\u51b3\u5b9a\u4f7f\u7528\u54ea\u79cd\u5173\u7cfb\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb803\u6b21\uff0c\u70b9\u8d5e19\u6b21\uff0c\u6536\u85cf14\u6b21\u3002\u672c\u6587\u901a\u8fc7Mermaid\u56fe\u5f62\u8be6\u7ec6\u89e3\u6790\u4e86UML\u4e2d\u5173\u8054(Association)\u4e0e\u805a\u5408(Aggregation)\u7684\u6838\u5fc3\u533a\u522b\u3002\u5173\u8054\u8868\u793a\u5e73\u7b49\u7684\u534f\u4f5c\u5173\u7cfb\uff08\u5982\u4f5c\u8005\u4e0e\u51fa\u7248\u793e\uff09\uff0c\u751f\u547d\u5468\u671f\u76f8\u4e92\u72ec\u7acb\uff1b\u805a\u5408\u5219\u4f53\u73b0\u6574\u4f53-\u90e8\u5206\u5173\u7cfb\uff08\u5982\u8d2d\u7269\u8f66\u4e0e\u5546\u54c1\uff09\uff0c\u90e8\u5206\u53ef\u72ec\u7acb\u4e8e\u6574\u4f53\u5b58\u5728\u3002\u5173\u952e\u5dee\u5f02\u5305\u62ec\uff1aUML\u8868\u793a\uff08\u5b9e\u7ebf\u7bad\u5934vs\u7a7a\u5fc3\u83f1\u5f62\uff09\u3001\u751f\u547d\u5468\u671f\u4f9d\u8d56\u548c\u5173\u7cfb\u5f3a\u5ea6\u3002\u6587\u7ae0\u901a\u8fc7\u7c7b\u56fe\u3001\u4ee3\u7801\u793a\u4f8b\u548c\u6d41\u7a0b\u56fe\u5bf9\u6bd4\u5c55\u793a\uff0c\u5f3a\u8c03\u805a\u5408\u5fc5\u987b\u5177\u6709&quot;\u5305\u542b&quot;\u8bed\u4e49\u4e14\u90e8\u5206\u5bf9\u8c61\u80fd\u72ec\u7acb\u5b58\u5728\u3002\u5224\u65ad\u65f6\u5e94\u57fa\u4e8e\u4e1a\u52a1\u8bed\u4e49\u800c\u975e\u4ee3\u7801\u7ed3\u6784\uff0c\u751f\u547d\u5468\u671f\u72ec\u7acb\u6027\u662f\u533a\u5206\u5173\u952e\u3002<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[55,4952,5701,5702,5700],"topic":[],"class_list":{"0":"post-55444","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-server","7":"tag-c","9":"tag-5701","10":"tag-5702","11":"tag-5700"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5982\u4f55\u533a\u5206\u7c7b\u7684\u5173\u7cfb\u662f\u5173\u8054\u548c\u805a\u5408\uff1f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/55444.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5982\u4f55\u533a\u5206\u7c7b\u7684\u5173\u7cfb\u662f\u5173\u8054\u548c\u805a\u5408\uff1f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb803\u6b21\uff0c\u70b9\u8d5e19\u6b21\uff0c\u6536\u85cf14\u6b21\u3002\u672c\u6587\u901a\u8fc7Mermaid\u56fe\u5f62\u8be6\u7ec6\u89e3\u6790\u4e86UML\u4e2d\u5173\u8054(Association)\u4e0e\u805a\u5408(Aggregation)\u7684\u6838\u5fc3\u533a\u522b\u3002\u5173\u8054\u8868\u793a\u5e73\u7b49\u7684\u534f\u4f5c\u5173\u7cfb\uff08\u5982\u4f5c\u8005\u4e0e\u51fa\u7248\u793e\uff09\uff0c\u751f\u547d\u5468\u671f\u76f8\u4e92\u72ec\u7acb\uff1b\u805a\u5408\u5219\u4f53\u73b0\u6574\u4f53-\u90e8\u5206\u5173\u7cfb\uff08\u5982\u8d2d\u7269\u8f66\u4e0e\u5546\u54c1\uff09\uff0c\u90e8\u5206\u53ef\u72ec\u7acb\u4e8e\u6574\u4f53\u5b58\u5728\u3002\u5173\u952e\u5dee\u5f02\u5305\u62ec\uff1aUML\u8868\u793a\uff08\u5b9e\u7ebf\u7bad\u5934vs\u7a7a\u5fc3\u83f1\u5f62\uff09\u3001\u751f\u547d\u5468\u671f\u4f9d\u8d56\u548c\u5173\u7cfb\u5f3a\u5ea6\u3002\u6587\u7ae0\u901a\u8fc7\u7c7b\u56fe\u3001\u4ee3\u7801\u793a\u4f8b\u548c\u6d41\u7a0b\u56fe\u5bf9\u6bd4\u5c55\u793a\uff0c\u5f3a\u8c03\u805a\u5408\u5fc5\u987b\u5177\u6709&quot;\u5305\u542b&quot;\u8bed\u4e49\u4e14\u90e8\u5206\u5bf9\u8c61\u80fd\u72ec\u7acb\u5b58\u5728\u3002\u5224\u65ad\u65f6\u5e94\u57fa\u4e8e\u4e1a\u52a1\u8bed\u4e49\u800c\u975e\u4ee3\u7801\u7ed3\u6784\uff0c\u751f\u547d\u5468\u671f\u72ec\u7acb\u6027\u662f\u533a\u5206\u5173\u952e\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/55444.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-13T14:34:49+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"13 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/55444.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/55444.html\",\"name\":\"\u5982\u4f55\u533a\u5206\u7c7b\u7684\u5173\u7cfb\u662f\u5173\u8054\u548c\u805a\u5408\uff1f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-08-13T14:34:49+00:00\",\"dateModified\":\"2025-08-13T14:34:49+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/55444.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/55444.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/55444.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5982\u4f55\u533a\u5206\u7c7b\u7684\u5173\u7cfb\u662f\u5173\u8054\u548c\u805a\u5408\uff1f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5982\u4f55\u533a\u5206\u7c7b\u7684\u5173\u7cfb\u662f\u5173\u8054\u548c\u805a\u5408\uff1f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/55444.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5982\u4f55\u533a\u5206\u7c7b\u7684\u5173\u7cfb\u662f\u5173\u8054\u548c\u805a\u5408\uff1f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb803\u6b21\uff0c\u70b9\u8d5e19\u6b21\uff0c\u6536\u85cf14\u6b21\u3002\u672c\u6587\u901a\u8fc7Mermaid\u56fe\u5f62\u8be6\u7ec6\u89e3\u6790\u4e86UML\u4e2d\u5173\u8054(Association)\u4e0e\u805a\u5408(Aggregation)\u7684\u6838\u5fc3\u533a\u522b\u3002\u5173\u8054\u8868\u793a\u5e73\u7b49\u7684\u534f\u4f5c\u5173\u7cfb\uff08\u5982\u4f5c\u8005\u4e0e\u51fa\u7248\u793e\uff09\uff0c\u751f\u547d\u5468\u671f\u76f8\u4e92\u72ec\u7acb\uff1b\u805a\u5408\u5219\u4f53\u73b0\u6574\u4f53-\u90e8\u5206\u5173\u7cfb\uff08\u5982\u8d2d\u7269\u8f66\u4e0e\u5546\u54c1\uff09\uff0c\u90e8\u5206\u53ef\u72ec\u7acb\u4e8e\u6574\u4f53\u5b58\u5728\u3002\u5173\u952e\u5dee\u5f02\u5305\u62ec\uff1aUML\u8868\u793a\uff08\u5b9e\u7ebf\u7bad\u5934vs\u7a7a\u5fc3\u83f1\u5f62\uff09\u3001\u751f\u547d\u5468\u671f\u4f9d\u8d56\u548c\u5173\u7cfb\u5f3a\u5ea6\u3002\u6587\u7ae0\u901a\u8fc7\u7c7b\u56fe\u3001\u4ee3\u7801\u793a\u4f8b\u548c\u6d41\u7a0b\u56fe\u5bf9\u6bd4\u5c55\u793a\uff0c\u5f3a\u8c03\u805a\u5408\u5fc5\u987b\u5177\u6709&quot;\u5305\u542b&quot;\u8bed\u4e49\u4e14\u90e8\u5206\u5bf9\u8c61\u80fd\u72ec\u7acb\u5b58\u5728\u3002\u5224\u65ad\u65f6\u5e94\u57fa\u4e8e\u4e1a\u52a1\u8bed\u4e49\u800c\u975e\u4ee3\u7801\u7ed3\u6784\uff0c\u751f\u547d\u5468\u671f\u72ec\u7acb\u6027\u662f\u533a\u5206\u5173\u952e\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/55444.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-08-13T14:34:49+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"13 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/55444.html","url":"https:\/\/www.wsisp.com\/helps\/55444.html","name":"\u5982\u4f55\u533a\u5206\u7c7b\u7684\u5173\u7cfb\u662f\u5173\u8054\u548c\u805a\u5408\uff1f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-08-13T14:34:49+00:00","dateModified":"2025-08-13T14:34:49+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/55444.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/55444.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/55444.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5982\u4f55\u533a\u5206\u7c7b\u7684\u5173\u7cfb\u662f\u5173\u8054\u548c\u805a\u5408\uff1f"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/55444","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=55444"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/55444\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=55444"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=55444"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=55444"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=55444"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}