def get_entity1(self): entity1 = Booking() entity1.booking_date = datetime.strptime("2015-02-01", "%Y-%m-%d") entity1.booking_timeslot = "0900" entity1.time_unit = "H" entity1.duration = 2 entity1.notes = "Please prepare Tennis rackets for us." entity1.num_of_booking = 2 entity1.rate = 100 entity1.currency = "USD" return entity1