{"id":2333,"date":"2025-12-17T18:18:50","date_gmt":"2025-12-17T18:18:50","guid":{"rendered":"https:\/\/www.ignoubcamca.com\/forum\/?p=2333"},"modified":"2025-12-21T16:52:07","modified_gmt":"2025-12-21T16:52:07","slug":"draw-class-diagram-for-online-banking-system-make-necessary-assumptions-mcs-219-q2","status":"publish","type":"post","link":"https:\/\/www.ignoubcamca.com\/forum\/draw-class-diagram-for-online-banking-system-make-necessary-assumptions-mcs-219-q2\/","title":{"rendered":"Draw class diagram for Online Banking System. Make necessary assumptions. [MCS-219 Q2]"},"content":{"rendered":"\n<p>Below is a <strong>UML Class Diagram for an Online Banking System<\/strong>, with <strong>necessary assumptions<\/strong> clearly stated.<br><br><strong>Assumptions<\/strong>: <\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>A customer can have multiple bank accounts. <\/li>\n\n\n\n<li>Each account belongs to one customer. <\/li>\n\n\n\n<li>Customers access the system using login credentials. <\/li>\n\n\n\n<li>Transactions can be Deposit, Withdrawal, or Transfer. <\/li>\n\n\n\n<li>An admin manages customers and accounts.<\/li>\n<\/ol>\n\n\n\n<!--more-->\n\n\n\n<p><strong>UML Class Diagram (Textual Representation)<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>+-------------------+\n|      Bank         |\n+-------------------+\n| - bankName        |\n| - branchCode      |\n+-------------------+\n| + addCustomer()   |\n| + openAccount()   |\n+-------------------+\n          |\n          |\n          | 1\n          |\n          | *\n+-------------------+\n|    Customer       |\n+-------------------+\n| - customerId      |\n| - name            |\n| - address         |\n| - phone           |\n| - email           |\n+-------------------+\n| + login()         |\n| + logout()        |\n| + viewAccount()   |\n+-------------------+\n          |\n          | 1\n          |\n          | *\n+-------------------+\n|     Account       |\n+-------------------+\n| - accountNumber   |\n| - accountType     |\n| - balance         |\n+-------------------+\n| + deposit()       |\n| + withdraw()      |\n| + getBalance()    |\n+-------------------+\n          |\n          | 1\n          |\n          | *\n+-------------------+\n|   Transaction     |\n+-------------------+\n| - transactionId   |\n| - date            |\n| - amount          |\n| - type            |\n+-------------------+\n| + execute()       |\n+-------------------+\n\n+-------------------+\n|      Admin        |\n+-------------------+\n| - adminId         |\n| - name            |\n+-------------------+\n| + manageAccount() |\n| + manageCustomer()|\n+-------------------+\n<\/code><\/pre>\n\n\n\n<p>Relationship Summary <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Bank \u2013 Customer : One-to-Many <\/li>\n\n\n\n<li>Customer \u2013 Account : One-to-Many <\/li>\n\n\n\n<li>Account \u2013 Transaction : One-to-Many <\/li>\n\n\n\n<li>Admin manages Customer and Account<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Below is a UML Class Diagram for an Online Banking System, with necessary assumptions clearly stated. Assumptions:<\/p>\n","protected":false},"author":1,"featured_media":2339,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31,32,33],"tags":[],"class_list":["post-2333","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mca-assignment","category-mca-january-2026","category-mcs-219"],"_links":{"self":[{"href":"https:\/\/www.ignoubcamca.com\/forum\/wp-json\/wp\/v2\/posts\/2333","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ignoubcamca.com\/forum\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ignoubcamca.com\/forum\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ignoubcamca.com\/forum\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ignoubcamca.com\/forum\/wp-json\/wp\/v2\/comments?post=2333"}],"version-history":[{"count":3,"href":"https:\/\/www.ignoubcamca.com\/forum\/wp-json\/wp\/v2\/posts\/2333\/revisions"}],"predecessor-version":[{"id":2359,"href":"https:\/\/www.ignoubcamca.com\/forum\/wp-json\/wp\/v2\/posts\/2333\/revisions\/2359"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ignoubcamca.com\/forum\/wp-json\/wp\/v2\/media\/2339"}],"wp:attachment":[{"href":"https:\/\/www.ignoubcamca.com\/forum\/wp-json\/wp\/v2\/media?parent=2333"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ignoubcamca.com\/forum\/wp-json\/wp\/v2\/categories?post=2333"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ignoubcamca.com\/forum\/wp-json\/wp\/v2\/tags?post=2333"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}