https://github.com/linthithtwe/minibankingsystem.dotnet7
Mini Banking System using Dotnet 7, idea from @sannlynnhtun-coding
https://github.com/linthithtwe/minibankingsystem.dotnet7
asp-net-core-web-api csharp dotnet-core webapi
Last synced: over 1 year ago
JSON representation
Mini Banking System using Dotnet 7, idea from @sannlynnhtun-coding
- Host: GitHub
- URL: https://github.com/linthithtwe/minibankingsystem.dotnet7
- Owner: LinThitHtwe
- Created: 2024-05-21T03:40:03.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-04T17:16:01.000Z (about 2 years ago)
- Last Synced: 2025-02-05T22:52:56.679Z (over 1 year ago)
- Topics: asp-net-core-web-api, csharp, dotnet-core, webapi
- Language: C#
- Homepage:
- Size: 270 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MiniBankingSystem
This is a mini banking management system, written in DotNet 7, a project idea by [sannlynnhtun-coding](https://github.com/sannlynnhtun-coding).
Full documentation can be found [here](https://github.com/sannlynnhtun-coding/Banking-Management-System).
Example project from [sannlynnhtun-coding](https://github.com/sannlynnhtun-coding) can be found [here](https://github.com/sannlynnhtun-coding/DotNet8.BankingManagementSystem).
Full Documentation By @sannlynnhtun-coding (In Burmese)
### Banking Management System
##### ဤ Project သည် Real World Project နှင့် သဘောတရား တူသယောင် ဖြစ်ပြီး အခုမှ Project သေးသေးလေးတွေ စရေးမယ့်သူတွေ လွယ်ကူဖို့အတွက် ဖန်တီးပေးထားသော အသေးစား Project တစ်ခုဖြစ်ပါတယ်။
Summary
> ငွေသွင်း ငွေလွှဲ ပြုလုပ်သည့်အခါ ဘဏ် staff ကနေ အသုံးပြုရတဲ့ စနစ်ဖြစ်တယ်။ ကိုယ် ငွေလွှဲချင်တဲ့ account နံပါတ်ကို ဘဏ် staff အားပြောပြပြီးတော့မှ ဘဏ် staff ကနေ တစ်ဆင့် ငွေသွင်း ငွေလွှဲ ပြုလုပ်ပေးနိုင်တဲ့ Service မျိုး ဖြစ်ပါတယ်။
- ဆောက်ရမယ့် Table က 4 ခု ရှိပါတယ်
- State
- Township
- Account
- Transaction History
ပါ၀င်မည့် Menu များကတော့
- General Setup
- [State List](#state-and-township-list)
- [Township List](#state-and-township-list)
- Account
- [Create Account](#create-account)
- [Account List](#account-list)
- Transaction
- [Transfer](#transfer)
- [Deposit](#deposit)
- [Withdraw](#withdraw)
- Report
- [Transaction History](#transaction-history)
-----
### State and Township List
State And Township Data တွေကို ဤ [Link](https://themimu.info/place-codes) ကနေ ထုတ်ယူထားတယ်။ Account ဖွင့်ရာတွင်အသုံးပြုတယ်။ ဘယ်နေရာ ဒေသမှာ ဖွင့်ထားသလဲဆိုတာ သိဖို့အတွက် ဖြစ်တယ်။
- State
- [StateId] [int] IDENTITY(1,1) NOT NULL
- [StateCode] [nvarchar](50) NOT NULL
- [StateName] [nvarchar](50) NOT NULL
- Township
- [TownshipId] [int] IDENTITY(1,1) NOT NULL
- [TownshipCode] [nvarchar](50) NOT NULL
- [TownshipName] [nvarchar](50) NOT NULL
- [StateCode] [nvarchar](50) NOT NULL
-----
### Create Account
ဘဏ်တွင် ငွေသွင်း ငွေလွှဲ service များကိုအသုံးပြုလိုပါက ဘဏ်တွင် account ဖွင့်ရပါမည်။
- Account
- [AccountId] [int] IDENTITY(1,1) NOT NULL
- [AccountNo] AS (right('000000'+ CONVERT([varchar](6),[AccountId]),(6)))
- [CustomerCode] AS ('C' + right('000000'+ CONVERT([varchar](6),[AccountId]),(6)))
- [CustomerName] [nvarchar](50) NOT NULL
- [Balance] [decimal](20, 2) NOT NULL
- [StateCode] [nvarchar](50) NOT NULL
- [TownshipCode] [nvarchar](50) NOT NULL
-----
### Account List
ဘဏ်တွင် customer များဖွင့်ခဲ့သော account များကိုကြည့်ရှုလို့ရမယ်။
-----
### Transfer
Customer ငွေလွှဲချင်သည့် အကောင့်ထဲသို့ ဘဏ် Staff မှ တစ်ဆင့် လွှဲပြောင်းပေးနိုင်ပါသည်။
> ငွေလွှဲတဲ့အခါ Account Table ထဲက မိမိ Account ရဲ့ Balance ကို အရင်လောက်မလောက် စစ်မယ်။ Account Table ထဲမှာရှိတဲ့ ကိုယ့်ရဲ့ Balance ကို
အရင် နုတ်ပေးရမယ်။ လက်ရှိ 1000, လွှဲတာ 200 ဆို 800 ပဲဖြစ်ရပါမယ်။ Balance Update လုပ်ပေးရပါမယ်။
ပြီးရင် လွှဲပေးလိုက်တဲ့ Account ကျတော့ Amount ကို ပေါင်းပေးရမယ်။ လက်ရှိ 200, လွှဲလိုက်တာ 200 ဆို
စုစုပေါင်း သူ့လက်ကျန်က 400 ဖြစ်ရပါမယ်။ လွှဲမယ့်သူဆီက နုတ်ပြီး လက်ခံရမယ့်သူဆီ ပေါင်းပေးရမယ်ဆိုတဲ့ သဘောပါ။
- Transaction History
- [TransactionHistoryId] [int] IDENTITY(1,1) NOT NULL
- [FromAccountNo] [nvarchar](50) NOT NULL
- [ToAccountNo] [nvarchar](50) NOT NULL
- [TransactionDate] [datetime] NOT NULL
- [Amount] [decimal](20, 2) NOT NULL
-----
### Deposit
Customer Account ထဲသို့ ငွေ Amount တွေကိုထည့်သွင်းလို့ရနိုင်ပါသည်။
> Form မှာ Account ကို Popup နဲ့ ရှာလို့ရမယ် အဲ့ထဲက တစ်ခုကို ရွေးမယ် ထည့်ချင်တဲ့ Amount ကိုရိုက်ထည့်မယ် Add ကိုနှိပ်တဲ့အခါ Account Table မှ Balance ကို လက်ရှိ ရိုက်ထည့်ထားသော Amount နှင့် ပေါင်းပေးရပါမယ်
အရင် 1000, လက်ရှိ ရိုက်ထားသော Amount 3000 ဆိုရင် စုစုပေါင်း Balance က 4000 ဖြစ်ရပါမယ်။
-----
### Withdraw
Customer Account ထဲမှ ငွေ Amount တွေကိုထုတ်ယူလို့ရပါမည်။
Logic
> ဒါကတော့ သူက ငွေထုတ်တာမို့ Account Table ထဲက ငွေကို နုတ်ယူပေးရမယ်။ ငွေထုတ်မယူခင်တော့ Balance လောက်မလောက် အရင်စစ်ပေးရမယ်။ စစ်လို့အဆင်ပြေမှသာ
ငွေထုတ်ခွင့်ပေးရပါမယ်။
-----
### Transaction History
Customer ငွေလွှဲသွားတဲ့ account တွေကို Date အလိုက်ကြည့်ရှုလို့ရတဲ့ Report ဖြစ်ပါတယ်။
-----