File tree Expand file tree Collapse file tree 1 file changed +68
-0
lines changed Expand file tree Collapse file tree 1 file changed +68
-0
lines changed Original file line number Diff line number Diff line change 1+ const { connector } = require ( "./databaseUtil" ) ;
2+
3+ const StudentCollegeSchema = {
4+ userId : {
5+ type : String ,
6+ required : true ,
7+ unique : true ,
8+ } ,
9+ AdmissionYear : {
10+ type : String ,
11+ required : true ,
12+ } ,
13+ StudentCode : {
14+ type : String ,
15+ } ,
16+ Rollno : {
17+ type : String ,
18+ } ,
19+ AdmissionStatus : {
20+ type : String ,
21+ required : true ,
22+ } ,
23+ AdmissionPattern : {
24+ type : String ,
25+ } ,
26+ Admissioncategory : {
27+ type : String ,
28+ required : true ,
29+ } ,
30+ SeatDesc : {
31+ type : String ,
32+ } ,
33+ QuotaType : {
34+ type : String ,
35+ required : true ,
36+ } ,
37+ QuotaType : {
38+ type : String ,
39+ required : true ,
40+ } ,
41+ Boarder : {
42+ type : Boolean ,
43+ } ,
44+ Seattype : {
45+ type : String ,
46+ required : true ,
47+ } ,
48+ Seatsubtype : {
49+ type : String ,
50+ required : true ,
51+ } ,
52+ EligibilityNo : {
53+ type : String ,
54+ required : true ,
55+ } ,
56+ EnrollmentNo : {
57+ type : String ,
58+ required : true ,
59+ unique : true ,
60+ } ,
61+ } ;
62+
63+ const studentcollegeCollege = new connector . model (
64+ "StudentCollegeSchema" ,
65+ StudentCollegeSchema
66+ ) ;
67+
68+ module . exports = { } ;
You can’t perform that action at this time.
0 commit comments