def __init__(self, title): self.sn = utils.sn() self.title = title self.__teachers = [] self.__classes = [] self.__courses = [] self.__students = []
def __init__(self, title, school_sn, course_sn, teacher_sn): self.sn = utils.sn() self.title = title self.school_sn = school_sn self.teacher_sn = teacher_sn self.course_sn = course_sn self.__students = [] self.__duties = []
def __init__(self, username, password, school_sn): self.sn = utils.sn() self.username = username self.password = password self.school_sn = school_sn self.__balance = 0 self.__transaction = [] self.__score = 0
def __init__(self, username, password, school_sn): self.sn = utils.sn() self.username = username self.password = utils.hash_md5(password) self.school_sn = school_sn self.__students = [] self.__classes = [] self.__duties = []
def __init__(self, title, period, price, school_sn): self.sn = utils.sn() self.title = title self.period = period self.price = price self.school_sn = school_sn