예제 #1
0
 def __init__(self, name, addr):
     """
     :param name: 学校名字
     :param addr: 学校地址
     """
     self.nid = identifier.SchoolNid(self.db_path)
     self.name = name
     self.addr = addr
     self.create_time = time.strftime('%Y-%m-%d %X')
     self.__income = 0
예제 #2
0
파일: models.py 프로젝트: ligongxin/REGSYS
 def __init__(self, name, address):
     """
     学校
     :name:学校名称
     :addrrss:学校地址
     """
     self.nid = identifier.SchoolNid(School.db_path)
     self.shcoolName = name
     self.schoolAddress = address
     self.income = 0
예제 #3
0
 def __init__(self, name, addr):
     self.nid = identifier.SchoolNid(self.db_path)
     self.name = name
     self.addr = addr
     self.create_time = time.strftime('%Y-%m-%d %X')
     self.__income = 0
예제 #4
0
 def __init__(self, name):
     self.nid = identifier.SchoolNid(School.db_path)
     self.schoolName = name
     self.income = 0