This commit is contained in:
Mr Swift
2024-08-05 19:28:03 +03:30
parent f846e37a74
commit 629fb47a39
2 changed files with 9 additions and 0 deletions
+3
View File
@@ -1,4 +1,6 @@
const mongoose = require('mongoose')
const BankSchema = mongoose.Schema({
holderName:String,
cardNumber:{
@@ -9,6 +11,7 @@ const BankSchema = mongoose.Schema({
}
})
/// /////////////////////////////////////////////////////
const WithdrawSchema = mongoose.Schema({
card:BankSchema,
amount:{