def __init__(self, name): # def __init__(self,name,tuition,school_nid,course_to_teacher_list): self.nid = identifier.ClassesNid(self.db_path) self.name = name # self.tuition=tuition # self.school_nid=school_nid # self.course_to_teacher_list=course_to_teacher_list self.create_time = time.strftime('%Y-%m-%d %X')
def __init__(self, name, tuition, school_nid, course_to_teacher_list): """ :param name: 班级名字 :param tuition: 学费 :param school_nid: 学校 ID :param course_to_teacher_list: """ self.nid = identifier.ClassesNid(self.db_path) self.name = name self.tuition = tuition self.school_nid = school_nid self.course_to_teacher_list = course_to_teacher_list
def __init__(self, name, tuition, school_id, course_to_teacher_list): ''' name:班级名 tuition:学费 school_id:学校id course_to_teacher_list:教课老师列表 ''' self.nid = identifier.ClassesNid(Classes.db_path) self.classesName = name self.tuition = tuition self.schoolId = school_id self.courseToTeacherList = course_to_teacher_list
def __init__(self, name, tuition, school_id, course_to_teacher_list): """ 班级 :param name: 班级名 :param tuition: 学费 :param school_id: 学校NID :param course_to_teacher_list: [CourseToTeacher,CourseToTeacher,] """ self.nid = identifier.ClassesNid(Classes.db_path) self.name = name self.tuition = tuition self.schoolId = school_id self.courseToTeacherList = course_to_teacher_list
def __init__(self,name,tuition,school_nid,course_to_teacher_list): self.nid=identifier.ClassesNid(self.db_path) self.name=name self.tuition=tuition self.school_nid=school_nid self.course_to_teacher_list=course_to_teacher_list
def __init__(self, name, tuition, course_nid): self.nid = identifier.ClassesNid(self.db_path) self.name = name self.tuition = tuition self.course_nid = course_nid