{"id":22248860,"url":"https://github.com/blocklune/bankconsole","last_synced_at":"2026-04-30T17:31:54.654Z","repository":{"id":244493733,"uuid":"815408246","full_name":"BlockLune/BankConsole","owner":"BlockLune","description":"A native Java implementation of a GUI program that simulates a bank control panel","archived":false,"fork":false,"pushed_at":"2024-06-15T12:42:26.000Z","size":69,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-10T05:36:23.162Z","etag":null,"topics":["bank","gradle","java","lab"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BlockLune.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-15T04:42:34.000Z","updated_at":"2024-06-15T12:42:29.000Z","dependencies_parsed_at":"2024-06-15T05:38:41.905Z","dependency_job_id":"77093a8b-b9f1-4a48-b399-06a56c2466e2","html_url":"https://github.com/BlockLune/BankConsole","commit_stats":null,"previous_names":["blocklune/bankconsole"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BlockLune/BankConsole","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlockLune%2FBankConsole","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlockLune%2FBankConsole/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlockLune%2FBankConsole/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlockLune%2FBankConsole/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BlockLune","download_url":"https://codeload.github.com/BlockLune/BankConsole/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlockLune%2FBankConsole/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32472396,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bank","gradle","java","lab"],"created_at":"2024-12-03T06:19:39.940Z","updated_at":"2026-04-30T17:31:54.631Z","avatar_url":"https://github.com/BlockLune.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bank Console\n\nA native Java implementation of a GUI program that simulates a bank control panel.\n\nThis is a lab assignment from my Java class. The original requirements are as follows:\n\n```text\n编写一个程序，采用图形用户界面，模拟银行自动取款机的工作流程。\n\n基本功能如下所述：\n1)\t当输入给定的卡号和密码（初始卡号为 888888 和密码为 123456 ）时，系统能登录 ATM 柜员机系统，用户可以按照以下规则进行：\n2)\t查询余额：初始余额为 50000 元。\n3)\tATM取款：每次取款金额为 100 的倍数，总额不超过 5000 元，支取金额不允许透支。\n4)\tATM存款：不能出现负存款。\n5)\t修改密码：只有旧密码正确，新密码符合要求，且两次输入相同的情况下才可以成功修改密码。\n\n扩展功能如下所述：\n1)\t美化界面；\n2)\t增加菜单；\n3)\t增加银行员工管理模块；\n4)\t增加数据存储功能；\n5)\t可自行设计合理扩展功能等。\n```\n\nBefore running the program, you need to create a MySQL database named `bank_console` and a table named `people` with the following schema:\n\n```sql\nCREATE DATABASE IF NOT EXISTS bank_console;\nUSE bank_console;\nCREATE TABLE people (\n    id INT PRIMARY KEY AUTO_INCREMENT,\n    username VARCHAR(255) NOT NULL,\n    password VARCHAR(255) NOT NULL,\n    role VARCHAR(255) NOT NULL,\n    balance INT NOT NULL\n);\nINSERT INTO people (username, password, role, balance) VALUES ('admin', 'admin', 'administrator', 0), ('888888', '123456', 'customer', 50000);\n```\n\nIt's also required to create a `db.properties` file in `app/src/main/resources` with the following content:\n\n```properties\ndb.url=jdbc:mysql://localhost:3306/bank_console\ndb.user=your_database_user\ndb.password=your_database_password\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblocklune%2Fbankconsole","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblocklune%2Fbankconsole","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblocklune%2Fbankconsole/lists"}