def __init__(self, name, password, level): self.nid = identifier.TeacherNid(self.db_path) self.name = name self.password = password self.level = level self.__account = 0 self.create_time = time.strftime('%Y-%m-%d %X')
def __init__(self, name, lever): ''' name:教师姓名 lever:教师级别 ''' self.nid = identifier.TeacherNid(Teacher.db_path) self.teacherName = name self.teacherLever = lever self.__account = 0 # 教师收入
def __init__(self, name, level): """ :param name: 老师姓名 :param level: 老师级别 """ self.nid = identifier.TeacherNid(Teacher.db_path) self.teacherName = name self.teacherLevel = level self.__account = 0
def __init__(self, name, level): """ :param name: 老师名字 :param level: 老师级别 """ self.nid = identifier.TeacherNid(self.db_path) self.name = name self.level = level self.__account = 0 # 老师的账户 self.create_time = time.strftime('%Y-%m-%d %X')
def __init__(self, name, school_id): self.nid = identifier.TeacherNid(Teacher.db_path) self.TeacherName = name self.SchoolId = school_id