We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa6fb7e commit c9abf94Copy full SHA for c9abf94
models/std_bank.js
models/std_bankSchema.js
@@ -0,0 +1,38 @@
1
+const { connector } = require("./databaseUtil");
2
+
3
+const stdBankSchema = {
4
+ userId: {
5
+ type: String,
6
+ required: true,
7
+ unique: true,
8
+ },
9
+ bank_name: {
10
11
12
+ minLength: 7,
13
14
+ bank_acc: {
15
16
17
18
19
+ bank_branch: {
20
21
22
23
+ bank_ifsc: {
24
25
26
+ maxLength: 11,
27
+ minLength: 11,
28
29
+ bank_micr: {
30
31
32
+ maxLength: 9,
33
+ minLength: 9,
34
35
+};
36
37
+const std_bank = new connector.model("stdBankSchema", stdBankSchema);
38
+module.exports = {};
0 commit comments