-
Notifications
You must be signed in to change notification settings - Fork 0
/
db.py
48 lines (35 loc) · 991 Bytes
/
db.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
import sys
reload(sys)
sys.setdefaultencoding( "utf-8" )
from config import db_name
from mongoengine import *
connect(db_name)
class personal_status(Document):
applied_school=StringField()
degree=StringField()
subject=StringField()
applied_result=StringField()
start_time=StringField()
start_term=StringField()
anonnced_time=StringField()
toefl=StringField()
gre=StringField()
undergraduate_school=StringField()
undergraduate_subject=StringField()
gpa=StringField()
other_info=StringField()
url=StringField()
class english_gter(Document):
applied_school=StringField()
degree=StringField()
subject=StringField()
applied_result=StringField()
start_time=StringField()
start_term=StringField()
anonnced_time=StringField()
ielts=StringField()
undergraduate_school=StringField()
undergraduate_subject=StringField()
gpa=StringField()
other_info=StringField()
url=StringField()