Esempio n. 1
0
 def __init__(self):
     self.generatedid = FileHandling.id_number_generator()
     self.eventdate = None
     self.starttime = None
     self.endtime = None
     self.zip = None
     self.city = None
     self.address = None
     self.beds = None
     self.plannednumber = None
     self.finalnumber = None
Esempio n. 2
0
 def write_to_csv(self):
     return FileHandling.write_to_donor_csv(self.name, self.weight, self.gender, self.birth_date, \
                                             self.last_donation_date, self.sick_last_month, self.id_num, \
                                             self.id_exp, self.blood_type, self.hemoglobin, self.email, \
                                             self.mobile)
Esempio n. 3
0
 def write_to_csv(self):
     return FileHandling.write_to_donation_csv(self.generatedid, self.eventdate, self.starttime, self.endtime, \
                                                self.zip, self.city, self.address, self.beds, self.plannednumber, \
                                                self.finalnumber)