Beispiel #1
0
	def toString(self):
		base = "<Appointment>"
		
		for key, value in model.getFieldMap(self).items():
			base += key + "=>" + str(value) + "\n"
		
		return base
Beispiel #2
0
	def fields(self):
		"""
		Returns a dictionary of all the class fields
		"""
		return model.getFieldMap(self)
Beispiel #3
0
	def __eq__(self, other):
		return self.fields() == model.getFieldMap(other)
Beispiel #4
0
	def __eq__(self, other):
		return model.getFieldMap(self) == model.getFieldMap(other)