def __init__(self, name, age, sex, qq, phone): self.id = idmaker.MakeId(self.db_path) self.name = name self.age = age self.sex = sex self.qq = qq self.phone = phone self.want_classes = [] self._tuition = 0
def __init__(self, name, semester, course_id, startdates, school_id, teacher_id): self.id = idmaker.MakeId(self.db_path) self.name = name self.semester = semester self.course_id = course_id self.startdates = startdates self.school_id = school_id self.teacher_id = teacher_id
def __init__(self, classrecord_id, sign, signdate, score, student_id, homework, note): self.id = idmaker.MakeId(self.db_path) self.classrecord_id = classrecord_id self.sign = sign self.signdate = signdate self.score = score self.student_id = student_id self.homework = homework self.note = note
def __init__(self, student_id, classes_id): self.id = idmaker.MakeId(self.db_path) self.student_id = student_id self.classes_id = classes_id
def __init__(self, name, age, sex, school_id): self.id = idmaker.MakeId(self.db_path) self.name = name self.age = age self.sex = sex self.school_id = school_id
def __init__(self, classes_id, section, classdate): self.id = idmaker.MakeId(self.db_path) self.classes_id = classes_id self.section = section self.classdate = classdate
def __init__(self, name, cycle, price, school_id): self.id = idmaker.MakeId(self.db_path) self.name = name self.cycle = cycle self.price = price self.school_id = school_id
def __init__(self, name, address, city): self.id = idmaker.MakeId(self.db_path) self.name = name self.address = address self.city = city self.create_time = time.strftime("%Y-%m-%d")
def __init__(self, name): self.id = idmaker.MakeId(self.db_path) self.name = name