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.
2 parents e4cd856 + a144f1f commit f43359bCopy full SHA for f43359b
models/emp_bankSchema.js
@@ -0,0 +1,41 @@
1
+const { connector } = require("./databaseUtil");
2
+
3
+const EmpBankSchema = {
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
+ appointment_approve_sg_dte: {
36
37
38
+};
39
40
+const Bank = new connector.model("EmpBank", EmpBankSchema);
41
+module.exports = {};
0 commit comments